Download the PHP package obtao/amazon-webservices-bundle without Composer
On this page you can find all versions of the php package obtao/amazon-webservices-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download obtao/amazon-webservices-bundle
More information about obtao/amazon-webservices-bundle
Files in obtao/amazon-webservices-bundle
Package amazon-webservices-bundle
Short Description A Symfony2 Bundle for interfacing with Amazon Web Services (AWS)
License BSD
Informations about the package amazon-webservices-bundle
Amazon Web Services Bundle
Overview
This is a Symfony2 Bundle for interfacing with Amazon Web Services (AWS).
This bundle uses the AWS SDK for PHP by loading the SDK, and enabling you to instantiate the SDK's various web service objects, passing them back to you for direct use in your Symfony2 application..
Installation
Add this line to your composer.json
file:
Then run composer update
.
Then, add AmazonWebServicesBundle to your application kernel:
Configuration
You can add the following default configuration to the config.yml file :
Usage
Once installed, you simply need to request the appropriate service for the Amazon Web Service object you wish to use. The returned object will then allow you full access the the API for the requested service.
Please see the AWS SDK for PHP documentation for a list of each service's API calls.
In this example, we get an AmazonSQS object from the AWS SDK for PHP library by requesting the service. We then use that object to retrieve a message from an existing Amazon SQS queue.
Available Services
The following services are available, each returning an object allowing access to the respective Amazon Web Service
Symfony Service Name | AWS SDK for PHP Object | Description |
---|---|---|
obtao.aws_sqs | AmazonSQS | Amazon Simple Queue Service |
obtao.aws_s3 | AmazonS3 | Amazon Simple Storage Service |
More documentation
- Configuration reference
- Examples with SQS