
Laravel, one of the most widely used PHP framework. In this compact article we learn how to clear laravel cache by using terminal and browser. Laravel uses different types of cache for the application. When we made changes in the code then we have to clear caches for applying changes.
Laravel clear cache using Terminal
For this method you need the command line access of your web server. Because we have to navigate to the laravel project folder and run some commands from the terminal in this method.
At the very first step, Goto the laravel project directory using the cd command.
cd /path_to_your_laravel_application_folder/
1 : Clear Configuration Cache
Laravel combine all of the configuration files into a single, cached file. However you can clear the configuration cache by running the below command from terminal.