2017 © Pedro Peláez
 

library laravel-aliyun-oss

Aliyun oss for Laravel5, also support flysystem adapter

image

overnic/laravel-aliyun-oss

Aliyun oss for Laravel5, also support flysystem adapter

  • Monday, June 26, 2017
  • by overnic
  • Repository
  • 1 Watchers
  • 0 Stars
  • 23 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 10 % Grown

The README.md

Aliyun OSS adapter

Aliyun oss for Laravel5, also support flysystem adapter., (*1)

Installation

This package can be installed through Composer., (*2)

composer require overnic/laravel-aliyun-oss

This service provider must be registered., (*3)

// config/app.php

'providers' => [
    '...',
    'Overnic\AliyunOss\AliyunOssServiceProvider',
];

At last, you can edit the config file: config/filesystem.php., (*4)

add a disk config to the config, (*5)

'oss' => [
    'driver'       => 'oss',
    'access_id'    => 'Your oss access id',
    'access_key'     => 'Your oss access key',
    'bucket'         => 'Your project bucket on oss',
    'endpoint'     => '', // 青岛节点需要指定,杭州节点不需要
    'prefix'       => ''  // Path prefix, default can keep empty
],

change default to oss, (*6)

'default' => 'oss';

Usage

You can now use Laravel5's flysystem to upload or get file/directory from oss, follow the document, http://laravel.com/docs/5.0/filesystem, (*7)

The Versions

26/06 2017

dev-master

9999999-dev https://github.com/overnic/laravel-aliyun-oss

Aliyun oss for Laravel5, also support flysystem adapter

  Sources   Download

MIT

The Requires

 

by Avatar overnic

laravel aliyun flysystem oss

26/06 2017

v0.1.1

0.1.1.0 https://github.com/overnic/laravel-aliyun-oss

Aliyun oss for Laravel5, also support flysystem adapter

  Sources   Download

MIT

The Requires

 

by Avatar overnic

laravel aliyun flysystem oss

13/04 2017

v0.1.0

0.1.0.0 https://github.com/overnic/aliyun-oss

Aliyun oss for Laravel5, also support flysystem adapter

  Sources   Download

MIT

The Requires

 

by Avatar overnic

laravel aliyun flysystem oss