Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

maheshk's avatar

How to run laravel project without artisan?

Hi,

I have a laravel project, untill now I was using

php artisan serve

for starting the project. Now I want to run the project by using localhost i.e. like we do for php file. In the browser we type localhost/test/gallery.php and it opens the gallery page. Likewise I want to start laravel project using localhost. Please help.

0 likes
4 replies
pmall's avatar
pmall
Best Answer
Level 56

Configure a server virtualhost (apache or nginx) which have the public directory of your project as root directory.

Cutie2596's avatar

@pmall Hi pmall. could you instruct me how to configure a server virtual host? Thanks

Please or to participate in this conversation.