vohinc/gsutil-sync 问题修复 & 功能扩展

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

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

vohinc/gsutil-sync

Composer 安装命令:

composer require vohinc/gsutil-sync

包简介

Execute gsutil rsync

README 文档

README

Install Gsutil

Please follow official guide: Quick Install

Setup

Add Provider

Add provider to config/app.php

'providers' => [
    ...
    Vohinc\GsutilSync\Providers\GsutilSyncProvider::class,
    ...
],

Publish Configuration

php artisan vendor:publish --provider="Vohinc\GsutilSync\Providers\GsutilSyncProvider" --tag="config"

Configure

return [
    // Gsutil bin path 
    'bin' => '/usr/local/bin/gsutil',
    
    // What is the full path to your private key file?
    'key' => env('GSUTIL_KEY_PATH'),
    
    // Please navigate your browser to https://cloud.google.com/console#/project,
    // then find the project you will use, and copy the Project ID string from the
    // second column. Older projects do not have Project ID strings. For such projects,
    // click the project and then copy the Project Number listed under that project.
    'projectId' => '',
    
    // Gsutil config path
    // Allow Gsutil to call api
    'boto' => storage_path('app/gsutil/boto'),
    
    // backup path.
    'paths' => [
    ],
    
    // Bucket name
    'bucket' => '',
    
    // root path.
    'root' => '',
];

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-06-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固