axdlee/upyun-laravel-storage

Upyun Resource (Cloud) Storage SDK for Laravel 5
88 3
Install
composer require axdlee/upyun-laravel-storage
Latest Version:1.0.3
License:MIT
Last Updated:Mar 15, 2017
Links: GitHub  ·  Packagist
Maintainer: axdlee

Upyun 云储存 Laravel 5 Storage版

基于 https://github.com/upyun/php-sdk 开发

符合Laravel 5 的Storage用法。

更新

v1.0 支持laravel5.4 的upyun存储适配器。

安装

  • composer require axdlee/upyun-laravel-storage
  • config/app.php 里面的 providers 数组, 加上一行 Axdlee\UpyunStorage\UpyunStorageServiceProvider::class,
  • config/filesystem.php 里面的 disks数组加上:

    'disks' => [
        ... ,
        'upyun' => [
            'driver'        => 'upyun', 
            'bucket'        => 'your bucket name',
            'operator_name' => 'your operator name',
            'operator_password'  => 'your operator password',
        ],
    ],

  • 完成

使用

官方SDK / 手册

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
laravel/framework

The Laravel Framework.

589,172,971 34,950
laravel/tinker

Powerful REPL for the Laravel framework.

498,216,183 7,442
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

413,412,504 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

391,429,217 4,660