I am building a Laravel site, and want to test it on other devices as I build it (phone, ipad etc).
As I understand it, the way to do this is to run php artisan serve --host=0.0.0.0
.
My question is... is there a way to define a default value for the host, and set it to 0.0.0.0, so that I can simply run php artisan serve
and it will automatically run on 0.0.0.0?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community