Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/razonyang/yii2-flysystem-aliyun-oss
Aliyun OSS Adapter for Yii2 Flysystem
https://github.com/razonyang/yii2-flysystem-aliyun-oss
Last synced: 20 days ago
JSON representation
Aliyun OSS Adapter for Yii2 Flysystem
- Host: GitHub
- URL: https://github.com/razonyang/yii2-flysystem-aliyun-oss
- Owner: razonyang
- License: bsd-3-clause
- Created: 2019-08-30T08:29:12.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-30T10:35:04.000Z (about 5 years ago)
- Last Synced: 2024-04-13T22:26:24.105Z (7 months ago)
- Language: PHP
- Size: 6.84 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Aliyun OSS Adapter for Yii2 Flysystem
=====================================[![Build Status](https://travis-ci.org/razonyang/yii2-flysystem-aliyun-oss.svg?branch=master)](https://travis-ci.org/razonyang/yii2-flysystem-aliyun-oss)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/razonyang/yii2-flysystem-aliyun-oss/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/razonyang/yii2-flysystem-aliyun-oss/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/razonyang/yii2-flysystem-aliyun-oss/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/razonyang/yii2-flysystem-aliyun-oss/?branch=master)
[![Latest Stable Version](https://img.shields.io/packagist/v/razonyang/yii2-flysystem-aliyun-oss.svg)](https://packagist.org/packages/razonyang/yii2-flysystem-aliyun-oss)
[![Total Downloads](https://img.shields.io/packagist/dt/razonyang/yii2-flysystem-aliyun-oss.svg)](https://packagist.org/packages/razonyang/yii2-flysystem-aliyun-oss)
[![LICENSE](https://img.shields.io/github/license/razonyang/yii2-flysystem-aliyun-oss)](LICENSE)Installation
------------```
composer require razonyang/yii2-flysystem-aliyun-oss
```Usage
-----Configuration:
```php
return [
'components' => [
'aliyunOss' => [
'class' => \RazonYang\Yii2\Flysystem\AliyunOssFilesystem::class,
'accessKeyId' => '',
'accessKeySecret' => '',
'endpoint' => '', // endpoint
'isCName' => false,
'bucket' => '', // bucket name
],
],
];
```