Level 80
@spbaniya Why are you trying to change the built-in paths in Lumen? What are you looking to achieve?
To change the public and storage folder, I tried these code in bootstrap/app.php:
$publicPath = env('PUBLIC_PATH', app()->basePath() . DIRECTORY_SEPARATOR . 'public');
$storagePath = env('STORAGE_PATH', app()->basePath() . DIRECTORY_SEPARATOR . 'storage');
$app->instance('path.config', app()->basePath() . DIRECTORY_SEPARATOR . 'config');
$app->instance('path.storage', $storagePath);
$app->instance('path.public', $publicPath);
And added different folder names for each PATH but still the application is picking the old folder names. Please suggest, what am I missing and how could I fix the issue
Lumen: ^6.3
Please or to participate in this conversation.