webiny / amazon
Webiny Amazon Component
v1.6.1
2017-09-29 08:12 UTC
Requires
- php: ^7
- aws/aws-sdk-php: 3.*
- webiny/config: ~1.6
- webiny/std-lib: ~1.6
Requires (Dev)
- mybuilder/phpunit-accelerator: dev-master
- phpunit/phpunit: ~6
README
Amazon component serves as a wrapper for Amazon Web Services SDK. Currently only S3 component is being used.
Install the component
The best way to install the component is using Composer.
composer require webiny/amazon
For additional versions of the package, visit the Packagist page.
Resources
To run unit tests, you need to use the following command:
$ cd path/to/Webiny/Component/Amazon/
$ composer.phar install
$ phpunit
Make sure that you also set your S3 API details in Tests/AmazonS3Test.php
before running the tests.