Clearing the Config Cache

Snipe-IT will try to cache your .env file variables for re-use to speed things up a bit, if you run the php artisan config:cache command. That's awesome, but if you forgot that you cached your config settings, make a change to your .env, and don't see the changes reflected, that can be really confusing.

To clear out these config settings and cache your updated settings, simply run:

php artisan config:clear

and then

php artisan config:cache

to re-cache the updated settings.

🚧

Note:

Some servers will require you to restart the webserver before changes to your config will take effect.