Some example with scaleway s3 and aws-php-sdk
Get your API keys here
$ docker build -t scaleways3 .
$ docker run --env AWS_ACCESS_KEY_ID=XXXXX --env AWS_SECRET_ACCESS_KEY=XXXX scaleways3
Be sure to have composer and php on your local environment and setted your s3 keys in env.
$ composer install
$ php src/index.php
More examples with aws-sdk-php here
Thanks goes to these wonderful people (emoji key):
mrpandat |
ptondereau |