lumen-generator
lumen-generator copied to clipboard
Support for config:clear and route:cache
You have done : php artisan optimize but in the same family these guys are left out : php artisan config:cache
php artisan route:cache would be great to have them too!
Thanks btw this is a great package!
Found a way to make this possible using :
app('config')->set('config_name.property_name',value)
Would make it possible to load configurations dynamically :) All is needed now to cache it.
More info, this gets all the configs : app('config')->all() and then using app('config')->set('name',...) it is possible to set the config dynamically.