configuration

Remove the cached configuration file.

php artisan php artisan config:clear

Syntax

Syntax
php artisan config:clear

Explanation

Deletes bootstrap/cache/config.php. After clearing, config is read from individual files. Required after changing .env values in development. Config is re-cached on next request if config:cache has been run.

Example

Example
php artisan config:clear

Explanation

Deletes bootstrap/cache/config.php. After clearing, config is read from individual files. Required after changing .env values in development. Config is re-cached on next request if config:cache has been run.