Skip to content
Advertisement

Laragon – How do I serve a website on startup?

Right now I have to open laragon start all > go into commands > and write php artisan serve, only then can I access the local website.

My question is how can I start all and serve the website on start of the program.

Thank you in advance!

Advertisement

Answer

you have to put your project folder into C:laragonwww

when start the laragon service it’s gonna search in that folder and use the name of the folder project to create a custom url, for example

if you put your project folder named newproject into the C:laragonwww folder, when you start the service, laragon it’s gonna make an url with the name of that folder newproject.test

C:laragonwwwnewproject-> newproject.test

C:laragonwwwblog-> blog.test

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement