outl1ne/laravel-generate-storage-structure
最新稳定版本:1.1.1
Composer 安装命令:
composer require outl1ne/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.
README 文档
README
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
composer require outl1ne/laravel-generate-storage-structure
Create app/, framework/ and logs/ directories into the current directory:
generate-storage-structure
Create app/, framework/ and logs/ directories into /storage directory:
generate-storage-structure --storage-path=/storage
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-20