From dd0c4492a08dfe4ea87b1d0aaefbd37ce6f104f2 Mon Sep 17 00:00:00 2001 From: frostealth Date: Mon, 18 Apr 2016 23:43:20 +0600 Subject: [PATCH] added note in readme.md --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8ef5364..f3f888f 100644 --- a/README.md +++ b/README.md @@ -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) [![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 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); -/** @var bool $isExisting */ -$isExisting = $s3->exist('filename.ext'); +/** @var bool $existence */ +$existence = $s3->exist('filename.ext'); /** @var string $url */ $url = $s3->getUrl('filename.ext'); @@ -279,4 +283,4 @@ allow to execute this command immediately: `$command->setSomething('some value') ## License Yii2 AWS S3 is licensed under the MIT License. -See the [LICENSE](LICENSE) file for more information. \ No newline at end of file +See the [LICENSE](LICENSE) file for more information.