Today, now in this blog I will show you how we can run any laravel application without run “php artisan serve” command. When we are install laravel project. From here we know how to run laravel project without php artisan serve command.
Whenever every time we want run laravel application then we are always use the “php artisan serve” command in cmd(terminal) . But now, I will share with you some trice of laravel how to run any laravel application without “php artisan serve” command.
First, we will find the “server.php” file in root our project directory. then need to file rename to “index.php”.
Now Copy to “.htaccess” file in our public directory and paste on our project root directory.
Now we completed above step, then after we can run laravel without “php artisan serve” command.
Change Assest Url
If we are not working of assest Url, Then we go to config folder and open the app.php file.Now we can change assest Url in this file. as like as “http://localhost/your-Project-Folder-Name/public/”
Read Also : How to remove key from array in jquery ?
Thanks for read. I hope it help you. For more you can follow us on facebook