Run Laravel project using localhost Edited: using virtual host
How can I run the Laravel project using the localhost. Not the use of "php artisan serve command"?
Where I have to make changes in Laravel project.
Edited:
using virtual host no // without public route
In the localhost, you don't have to change anything. What you need to do just only install your laravel project inside the local server (i.g. Xampp or Wamp).
Once you have successfully installed and your local server is run, then you just browse the project location just like some other PHP project.
Imagine, you have stored your project C://xampp/htdocs/project-name. In that case, once you run xampp properly, then just visit http://localhost/project-name/public.
@omardevm I solved this problem a month ago. The question I wan basically here without any public route at end or using virtual host like yourProjectName.test etc domain name can anything.
Edited:
solution
Note:
If you're using homestead or laragon no need to add virtual host manually it will automatically generate when project dowloaded.