LaravelPackages.net
Acme Inc.
Toggle sidebar
axdlee/upyun-laravel-storage

Upyun Resource (Cloud) Storage SDK for Laravel 5

88
3
1.0.3
About axdlee/upyun-laravel-storage

axdlee/upyun-laravel-storage is a Laravel package for upyun resource (cloud) storage sdk for laravel 5. It currently has 3 GitHub stars and 88 downloads on Packagist (latest version 1.0.3). Install it with composer require axdlee/upyun-laravel-storage. Discover more Laravel packages by axdlee or browse all Laravel packages to compare alternatives.

Last updated

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',
        ],
    ],

  • 完成

使用

  • 参考 包内 UpyunAdapter.php 及 https://github.com/upyun/php-sdk

官方SDK / 手册

  • https://github.com/upyun/php-sdk
  • http://docs.upyun.com/api/

Star History Chart