rizkhan/gce-php-utility
Composer 安装命令:
composer require rizkhan/gce-php-utility
包简介
A PHP utility for Google bucket API functions
README 文档
README
Command line PHP utility for Google bucket API functions. Which can be used to upload and download files within a folder
Getting Started
This package is available on packagist. You can use the following command to add this package into your composer dependancies.
composer require rizkhan/gce-php-utility --dev
Configuration
You need to create a config.yml file in your project root. Below is the default config file.
---
bucket:
name: your-bucket-name
key: "keys/key-filename.json"
syncfolder: "path/to/upload/and/download/dir/"
uploadfiletypes: "jpg,gif,png,PNG,jpeg"
Upload to GCS Bucket
You can execute the below command to upload all files and subfolders
vendor/bin/console gcs:upload
Download from GCS Bucket
You can execute the below command to Download all files and subfolders
vendor/bin/console gcs:download
Authors
- Rizkhan Riaz - GitHub
License
This project is licensed under the MIT License - see the LICENSE.md file for details
统计信息
- 总下载量: 4.53k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-12-13