Dear folks,
Ref:Laravel5
I am looking for a way to clear the configuration cache programmatically. So far the I am using the following command
php artisan config:cache
in command line, but its not easy while we deploying application in production server.
But in my production server php shell commands are not allowed through script such as
$command = 'php artisan config:cache'; exec($command);
Please suggest a way to clear cache from with in a code file programmatically.
Regards, Najeem
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community