Download the PHP
package uam/aws-bundle without Composer
On this page you can find all versions of the php package
uam/aws-bundle. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor uam Package aws-bundle Short Description Symfony bundle to provide a wrapper service around AWS S3 License
MIT Homepage http://gitweb.united-asian.com
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
The UAMAwsBundle exposes AWS clients as services for use in your Symfony 2 app.
Installation
Add the package to your project's composer.json:
Register this bundle in your app's kernel:
Configuration
The UAMAwsBundle can be configured in 2 ways: either by providing a path to a AWS configuration file or by setting the configuration parameters in your app's configuration.
Direct configuration
Define the following settings in your app's configuration:
Via AWS configuration file
You can also simply have your app's configuration file point to a AWS configuration file in a location of your choice. This configuration file must be in the format required by the AWS SDK's Aws::factory() method.
Usage
Currently this bundle defines 2 services that provide clients for the AWS S3 and SQS services.
You can obtain this service from a container in the standard way, e.g. in a Controller:
The uam_aws.s3 service is an instance of Aws\S3\S3Client. See the AWS SDK documentation for usage of the S3Client.
The uam_aws.sqs service is an instance of Aws\Sqs\SqsClient. See the AWS SDK documentation for usage of the SQsClient.
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package uam/aws-bundle contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.