Access to Laravel 5 app locally from an external device

后端 未结 6 606
忘掉有多难
忘掉有多难 2020-11-30 20:10

I\'ve looked for a solution in the web, but I\'ve not found a solution yet. I need to access to my Laravel 5 app from my iPhone, but I\'m in develop, so I don\'t want to pub

6条回答
  •  庸人自扰
    2020-11-30 21:08

    You can use Laravel Homestead, an official pre-packaged Vagrant "box" to develop your project and access your local website from multiple machines within the same private network.

    Here you can find more information about homestead and how to use it: http://laravel.com/docs/5.0/homestead

    And here a sample Vagrant private network setup: http://docs.vagrantup.com/v2/networking/private_network.html

提交回复
热议问题