Laravel Artisan Cache Commands

1. Configuration Cache

Caching configuration helps with combining all of the configuration options for your application into a single file which will be loaded quickly by the framework.

Clearing Configuration Cache

However, if you notice changes to the configuration values in .env file is not reflecting on your application, you may want to consider clearing the configuration cache with the following command:

$ php artisan config:clear
Configuration cache cleared!

If you want to quickly reset your configuration cache after clearing them, you may instead run the following command:

$ php artisan config:cache
Configuration cache cleared!
Configuration cached successfully!

View Post

Leave a comment

Your email address will not be published. Required fields are marked *