outl1ne/laravel-generate-storage-structure 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

tests

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

GitHub 信息

  • Stars: 11
  • Watchers: 4
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-20