DEV Community

Discussion on: Artisan server for Lumen

Collapse
 
bramasto17 profile image
Bramasto Wibisono • Edited

for me I just create a .sh file called serve.sh, inside the file is php -S host:port -t public, then to serve it just run sh serve.sh

Collapse
 
brcontainer profile image
Guilherme Nascimento

Thanks for commenting. Believe me, I use it too, but in projects with my own framework. I created a server.bat and a server.sh, I also find it more practical.