Skip to content

RobertYue19900425/flysystem-oss

Repository files navigation

Flysystem Adapter for Aliyun OSS.

Build Status Coverage Status

This is a Flysystem adapter for the Aliyun OSS ~2.0.4

Installation

composer require moyue/aliyun-oss-flysystem dev-master

Runing samples

cd vendor/moyue/aliyun-oss-flysystem/
vim samples/Config.php

modify the following config:
 const OSS_ACCESS_ID = '';
 const OSS_ACCESS_KEY = '';
 const OSS_ENDPOINT = '';
 const OSS_TEST_BUCKET = '';

php samples/AliyunOssFlysystem.php

Runing tests

export OSS_ACCESS_KEY_ID=your id
export OSS_ACCESS_KEY_SECRET=your secret
export OSS_ENDPOINT=your endpoint
export OSS_BUCKET=your bucket
cd vendor/moyue/aliyun-oss-flysystem/
composer install
php vendor/bin/phpunit

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages