Is it possible to change to the storage path? I want it to be outside of the repository in our production environment, for deployments to work properly.
The default path is app/storage/
. We are using 4.1.x.
Yes, it is. You can define it in bootstrap/paths.php
:
/*
|--------------------------------------------------------------------------
| Storage Path
|--------------------------------------------------------------------------
|
| The storage path is used by Laravel to store cached Blade views, logs
| and other pieces of information. You may modify the path here when
| you want to change the location of this directory for your apps.
|
*/
'storage' => __DIR__.'/../app/storage',
Don't forget to set the required read/write permissions for the new directory.