Download the PHP package optimistdigital/laravel-generate-storage-structure without Composer
On this page you can find all versions of the php package optimistdigital/laravel-generate-storage-structure. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download optimistdigital/laravel-generate-storage-structure
More information about optimistdigital/laravel-generate-storage-structure
Files in optimistdigital/laravel-generate-storage-structure
Package laravel-generate-storage-structure
Short Description This package generates the Laravel storage folder structure. Useful when mounting an empty directory to replace `storage/` in production or staging environments.
License MIT
Informations about the package laravel-generate-storage-structure
Laravel Generate Storage Structure
This package generates the Laravel storage folder structure. Useful when mounting an empty directory to replace storage/
in production or staging environments.
When running a Laravel application with an empty storage directory, you should get an error related with reading/storing files to/from storage
directory like ErrorException file_put_contents(/../storage/..): failed to open stream: No such file or directory
or similar. This can be fixed by manually creating the folder structure as needed, but it's cumbersome task with automated CI/CD flows.
Usage
Create app/
, framework/
and logs/
directories into the current directory:
Create app/
, framework/
and logs/
directories into /storage
directory:
All versions of laravel-generate-storage-structure with dependencies
symfony/console Version ^5.0
symfony/filesystem Version ^5.0