liou2021/gcs
最新稳定版本:v1.2.2
Composer 安装命令:
composer require liou2021/gcs
包简介
storage of gcp for laravel 9
README 文档
README
- this package is helpful laravel 9 using gcp storage
edit your composer.json
"repositories": { "liou2021": { "type": "vcs", "url": "https://github.com/LIOU2021/gcs" } }
run this command in your laravel project
composer require liou2021/gcs
publish config
php artisan vendor:publish --provider="Liou2021\Gcs\GCSServiceProvider"
edit your config(config/gcs.php)
return[ 'bucket'=>'your bucket name', 'key'=>'your gcp key' ];
common
return \GCS::allFiles(); return \GCS::Files('test/'); return \GCS::put($request->file, $path);
Ref
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-24