biigle/user-storage 问题修复 & 功能扩展

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

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

biigle/user-storage

最新稳定版本:v1.12.1

Composer 安装命令:

composer require biigle/user-storage

包简介

BIIGLE module to allow file upload and storage for users

README 文档

README

Test status

This is the BIIGLE module to allow file upload and storage for users.

Installation

  1. Run composer require biigle/user-storage.
  2. Add Biigle\Modules\UserStorage\UserStorageServiceProvider::class to the providers array in config/app.php.
  3. Run php artisan vendor:publish --tag=public to refresh the public assets of the modules. Do this for every update of this module.
  4. Set the environment variables USER_STORAGE_STORAGE_DISK and USER_STORAGE_PENDING_DISK to the names of the storage disk for user storage files and for pending storage requests, respectively. The same disk can be used for both. The content of the storage disks should be publicly accessible. The storage disk driver must support a root path (absolute or as a prefix). Example for a local disk:
    'user-storage' => [
        'driver' => 'local',
        'root' => storage_path('app/public/user-storage'),
        'url' => env('APP_URL').'/storage/user-storage',
        'visibility' => 'public',
    ],
  5. In the php.ini, configure post_max_size and upload_max_filesize to allow file uploads of your desired size. Maybe also configure upload_tmp_dir to point to a local disk partition with enough space for all temporary upload files. In addition, configure the corresponding settings of the web server.

Developing

Take a look at the development guide of the core repository to get started with the development setup.

Want to develop a new module? Head over to the biigle/module template repository.

Contributions and bug reports

Contributions to BIIGLE are always welcome. Check out the contribution guide to get started.

统计信息

  • 总下载量: 5.4k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2022-03-08