I wanted to configure the filesystem path in lumen, and lumen not providing the config folder set the filesystem local path how can I do it?
Put the following in your bootstrap/app.php before you register the service providers:
$app->instance('path.config', app()->basePath() . DIRECTORY_SEPARATOR . 'config');
You can also do this for other variables like path.storage or path.public.
This is set in Laravel by default, but not done in Lumen. Therefore you need to add this yourself to the bootstrap process.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With