Skip to content

Commit

Permalink
Refine readme
Browse files Browse the repository at this point in the history
  • Loading branch information
baiyubin2020 committed Sep 5, 2017
1 parent 599376c commit baa0249
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions README.md
@@ -1,20 +1,21 @@
# Flysystem Adapter for Aliyun OSS.
# Flysystem Adapter for AliCloud OSS

[![Build Status](https://travis-ci.org/aliyun/aliyun-oss-php-sdk-flysystem.svg?branch=master)](https://travis-ci.org/aliyun/aliyun-oss-php-sdk-flysystem)
[![Coverage Status](https://coveralls.io/repos/github/aliyun/aliyun-oss-php-sdk-flysystem/badge.svg?branch=master)](https://coveralls.io/github/aliyun/aliyun-oss-php-sdk-flysystem?branch=master)

This is a Flysystem adapter for the Aliyun OSS ~1.1.0
This is a Flysystem Adapter for the AliCloud OSS ~1.1.0

## 安装flysystem
## Installation

```bash
composer require aliyuncs/aliyun-oss-flysystem
```

## 运行实例
## Running Sample

```
cd vendor/aliyun/aliyun-oss-flysystem/
vim samples/Config.php
modify the following config:
Expand All @@ -26,14 +27,20 @@ modify the following config:
php samples/AliyunOssFlysystem.php
```

## 运行测试
## Running Test

```bash
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/aliyun/aliyun-oss-flysystem/

composer install

php vendor/bin/phpunit
```

## License
- [MIT](https://github.com/aliyun/aliyun-oss-php-sdk-flysystem/blob/master/LICENSE.md)

0 comments on commit baa0249

Please sign in to comment.