There are couple of solutions, if you are using Windows then take a look at
If you are on Mac use:
And on Linux
There are many other options like Docker, Laragon
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
I would like to deploy my application locally and have access to it as if it were hosted online. I installed Apache to try but I find no solution. To get access I have to launch the application from htdocs with php artisan serve and then with localhost: 8000. Even when I create a virtualhost to access http: // myapplication /, it does not work.
In conclusion I would like to have access to my application locally without command prompt.
Thank you.
Please or to participate in this conversation.