Hi friends, in this tutorial, you will learn how to run a Laravel project without a database on a local server or any shared hosting server. I will explain a very simple idea that will help you do so easily.
Steps to run Laravel project without database
Step 1:- Go to the Laravel project folder.
Step 2:- Go to the bootstrap/cache folder of your Laravel project and then rename the config.php to anything or you can remove the config.php file as shown below.
Step 3:- Now you can clear the cache using the php artisan cache:clear command and run the Laravel project without any database.
Conclusion:- I hope this idea will help you. If there is any doubt then please leave a comment below.