1
0

added note in readme.md

This commit is contained in:
frostealth
2016-04-18 23:43:20 +06:00
parent 4cf6c77e41
commit dd0c4492a0

View File

@@ -7,6 +7,10 @@ An Amazon S3 component for Yii2.
[![Total Downloads](https://poser.pugx.org/frostealth/yii2-aws-s3/downloads)](https://packagist.org/packages/frostealth/yii2-aws-s3) [![Total Downloads](https://poser.pugx.org/frostealth/yii2-aws-s3/downloads)](https://packagist.org/packages/frostealth/yii2-aws-s3)
[![Latest Unstable Version](https://poser.pugx.org/frostealth/yii2-aws-s3/v/unstable)](https://packagist.org/packages/frostealth/yii2-aws-s3) [![Latest Unstable Version](https://poser.pugx.org/frostealth/yii2-aws-s3/v/unstable)](https://packagist.org/packages/frostealth/yii2-aws-s3)
> Yii2-AWS-S3 uses [semantic versioning](http://semver.org/).
> Version 2.x requires PHP 7. For PHP less 7.0 use [1.x](https://github.com/frostealth/yii2-aws-s3/blob/1.x).
## Installation ## Installation
1. Run the [Composer](http://getcomposer.org/download/) command to install the latest version: 1. Run the [Composer](http://getcomposer.org/download/) command to install the latest version:
@@ -80,8 +84,8 @@ $result = $s3->upload('filename.ext', '/path/to/local/file.ext');
$result = $s3->restore('filename.ext', $days = 7); $result = $s3->restore('filename.ext', $days = 7);
/** @var bool $isExisting */ /** @var bool $existence */
$isExisting = $s3->exist('filename.ext'); $existence = $s3->exist('filename.ext');
/** @var string $url */ /** @var string $url */
$url = $s3->getUrl('filename.ext'); $url = $s3->getUrl('filename.ext');
@@ -279,4 +283,4 @@ allow to execute this command immediately: `$command->setSomething('some value')
## License ## License
Yii2 AWS S3 is licensed under the MIT License. Yii2 AWS S3 is licensed under the MIT License.
See the [LICENSE](LICENSE) file for more information. See the [LICENSE](LICENSE) file for more information.