Why don't you use Laravel's artisan for it? Very simple:
sudo php artisan serve --host 192.168.1.101 --port 80
Now from other computers, you can type: http://192.168.1.101
Do not forget to replace the IP with your own local one. That's it.
Note: The sudo
is only needed if you wanna serve on port 80.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…