Does anyone know how I can see my project in laravel using another device in the same local network?
Enter my ip in the browser and open the wamp configuration and when I enter the name of my folder, it opens the main one but the other pages do not
Does anyone know how I can see my project in laravel using another device in the same local network?
Enter my ip in the browser and open the wamp configuration and when I enter the name of my folder, it opens the main one but the other pages do not
A simple way to do it without configuring anything is to use this variation in your command php artisan serve
by php artisan serve --host=0.0.0.0 --port=8000
You have to create or redirect the apache vhost to the folder you want instead of htdocs
Example
Open
C:\wamp\bin\apache\Apache-XXX\conf\extra\ (XXX = version)
And you edit your vhost
<VirtualHost *:80>
DocumentRoot "c:\nuevaRuta"
ServerName mipagina.local
</VirtualHost>
Now just restart the wamp and you're done