How to run laravel without php artisan serve command – onlinecode
In this post we will give you information about How to run laravel without php artisan serve command – onlinecode. Hear we will give you detail about How to run laravel without php artisan serve command – onlinecodeAnd how to use it also give you demo for it if it is necessary.
Today, we will explain about laravel how to run laravel without “php artisan serve” command. first, install laravel. whenever start or use laravel that every time run the “php artisan serve” command in cmd. But it takes time take time, so it’s time-consuming. but today, we will share some trice of laravel how to run without command.
Rename File
First, find the “server.php” file in root your project directory. that file rename to “index.php”.
htaccess File
Copy the “.htaccess” file in the public directory and paste on root your project directory.
You completed the above step, then after You can run laravel without that command. I hope this tutorial will be helpful for laravel.
Change Asset Url
if you are not working on asset Url, Then go to the config folder and open the app.php file. You can change asset Url in this file. like as “http://localhost/your-Project-Folder-Name/public/”
Hope this code and post will helped you for implement How to run laravel without php artisan serve command – onlinecode. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs