dongluanan7163 2018-03-15 09:00
浏览 83
已采纳

没有php工匠护照的护照:在部署服务器上安装

I have applied the passport auth in laravel. I have done this on my local machine and AWS server too. Now I am trying to apply the same to a shared hosting, where I won't be able to access the terminal. So my curiosity is just to know is it possible to apply for the passport without php artisan passport: install?

  • 写回答

4条回答 默认 最新

  • doukesou4452 2018-03-15 09:04
    关注

    Try to make a controller with a connected HTTP route, and put

    Artisan::call('passport:install');
    

    there. Then go to the url to run the command.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?