Amazon component serves as a wrapper for Amazon Web Services SDK. Currently only S3 component is being used.
The best way to install the component is using Composer.
composer require webiny/amazon
For additional versions of the package, visit the Packagist page.
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.