A Symfony bundle for including the AWS SDK for PHP.
The AWS bundle can be installed via Composer by requiring the aws/aws-sdk-php-symfony
package in your project's composer.json
:
{ "require": { "aws/aws-sdk-php-symfony": "~1.0" } }
and adding an instance of Aws\Symfony\AwsBundle
to your application's kernel:
class AppKernel extends Kernel { public function registerBundles() { return [ ... new \Aws\Symfony\AwsBundle(), ]; } ... }
This bundle exposes an instance of the Aws\Sdk
object as well as instances of each AWS client object as services to your symfony application