exercisebook/laravel-storage-imagex
Composer 安装命令:
composer require exercisebook/laravel-storage-imagex
包简介
Laravel ImageX Storage
README 文档
README
准备
- 创建 ImageX 服务并且服务能够使用。
- 确保服务已经开启了原地址访问和上传任意文件功能。
这两个功能默认关闭,需要 提工单 申请开启。
工单信息:- 问题类型:图片解决方案 / 功能配置
- 问题描述:PHP框架源地址访问配置
配置
-
通过 Composer 安装本库。
composer require exercisebook/laravel-storage-imagex
-
编辑
config/filesystems.php添加 ImageX 的连接设置。'imagex' => [ 'driver' => 'imagex', 'region' => 'Region', // 如:cn-north-1 'access_key' => 'Access Key', 'secret_key' => 'Secret Key', 'service_id' => 'Service ID', 'domain' => 'Binding Domain' // 填写该图片服务所绑定的域名如 imagex.superexercisebook.com。推荐以 https:// 开头。该值用来拼接 url。 ], -
在
config/app.php中的providers数组里添加ImageXServiceProvider。ExerciseBook\Laravel\Storage\ImageX\Provider\ImageXServiceProvider::class,
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-01-21