aobozhang/aliyun-oss-adapter

Use Aliyun oss as Storage for Laravel 5.0+

Maintainers

👁 Aobo

Package info

github.com/aobozhang/aliyun-oss-adapter

Homepage

pkg:composer/aobozhang/aliyun-oss-adapter

Statistics

Installs: 1 007

Dependents: 0

Suggesters: 1

Stars: 14

Open Issues: 1

1.0.2 2015-12-28 09:09 UTC

Requires

Requires (Dev)

None

Suggests

Provides

None

Conflicts

None

Replaces

None

MIT c6d783a7486250c5c4a30c51b953a4977e1894c8

  • Aobo <aobozhang.woop@gmail.com>

storagelaravelossaliyun

This package is not auto-updated.

Last update: 2026-06-20 16:42:12 UTC


README

👁 Latest Stable Version
👁 Total Downloads
👁 Latest Unstable Version
👁 License

Aliyun oss driver for Laravel5.0+, also support flysystem adapter.

inspire by orzcc/aliyun-oss

Usage

use Storage;

//...

Strorage::[everything in doc]

more infomation 更多信息:

Laravel wiki

Aobo's wiki

Installation

This package can be installed through Composer.

composer require aobozhang/aliyun-oss-adapter

Configuration

This service provider must be registered.

// config/app.php

'providers' => [
 ...,
 Aobo\OSS\AliyunOssFilesystemServiceProvider::class,
];

add config:

// config/filesystem.php.

 'oss' => [
 'driver' => 'oss',
 'access_id' => env('OSS_ACCESS_ID','your id'),
 'access_key' => env('OSS_ACCESS_KEY','your key'),
 'bucket' => env('OSS_BUCKET','your bucket'),
 'endpoint' => env('OSS_ENDPOINT','your endpoint'), 
 		// eg. oss-cn-beijing.aliyuncs.com !!without 'http://' in OSS SDK 2.0+
 ],

change default to oss

'default' => 'oss';