PHPackages                             briareos/aws-sdk-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. briareos/aws-sdk-php

ActiveLibrary[File &amp; Storage](/categories/file-storage)

briareos/aws-sdk-php
====================

AWS SDK for PHP - Use Amazon Web Services in your PHP project

v3.0.1(11y ago)11.3kApache-2.0PHPPHP &gt;=5.5CI failing

Since Mar 10Pushed 11y ago1 watchersCompare

[ Source](https://github.com/Briareos/aws-sdk-php)[ Packagist](https://packagist.org/packages/briareos/aws-sdk-php)[ Docs](http://aws.amazon.com/sdkforphp)[ RSS](/packages/briareos-aws-sdk-php/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (8)Versions (3)Used By (0)

AWS SDK for PHP
===============

[](#aws-sdk-for-php)

[![Latest Stable Version](https://camo.githubusercontent.com/668609425c9581c46f44a8cea3489584f94c62f2fb81305392925745b0d777a0/68747470733a2f2f706f7365722e707567782e6f72672f6177732f6177732d73646b2d7068702f76657273696f6e2e737667)](https://packagist.org/packages/aws/aws-sdk-php)[![Total Downloads](https://camo.githubusercontent.com/ff2c96487bd5421483a6792bd21607348bd79baaa470d219f29fa7d59b855e27/68747470733a2f2f706f7365722e707567782e6f72672f6177732f6177732d73646b2d7068702f642f746f74616c2e737667)](https://packagist.org/packages/aws/aws-sdk-php)[![Build Status](https://camo.githubusercontent.com/bd7f1c2caa8e872718de9d10b0451053f9686473e979bf42c96fe4d63b58d7ef/68747470733a2f2f7472617669732d63692e6f72672f6177732f6177732d73646b2d7068702e706e67)](https://travis-ci.org/aws/aws-sdk-php)[!\[Gitter\](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/aws/aws-sdk-php?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

The **AWS SDK for PHP** enables PHP developers to use [Amazon Web Services](http://aws.amazon.com)in their PHP code, and build robust applications and software using services like Amazon S3, Amazon DynamoDB, Amazon Glacier, etc. You can get started in minutes by [installing the SDK through Composer](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/installation.html) or by downloading a single zip or phar file from our [latest release](https://github.com/aws/aws-sdk-php/releases/latest).

Resources
---------

[](#resources)

- [User Guide](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/index.html) – For in-depth getting started and usage information
- [API Docs](http://docs.aws.amazon.com/aws-sdk-php/v3/api/index.html) – For operations, parameters, responses, and examples
- [Blog](http://blogs.aws.amazon.com/php) – Tips &amp; tricks, articles, and announcements
- [Sample Project](http://aws.amazon.com/developers/getting-started/php) - A quick, sample project to help get you started
- [Forum](https://forums.aws.amazon.com/forum.jspa?forumID=80) – Ask questions, get help, and give feedback
- [Issues](https://github.com/aws/aws-sdk-php/issues) – Report issues and submit pull requests (see [Apache 2.0 License](http://aws.amazon.com/apache2.0/))
- [@awsforphp](https://twitter.com/awsforphp) – Follow us on Twitter

Installing
----------

[](#installing)

The recommended way to install the AWS SDK for PHP is through Composer.

1. Install Composer:

    ```
     curl -sS https://getcomposer.org/installer | php

    ```
2. Next, run the Composer command to install the latest stable version of the AWS SDK for PHP:

    ```
     composer require aws/aws-sdk-php

    ```
3. After installing, you need to require Composer's autoloader in your app:

    ```
     require 'vendor/autoload.php';

    ```

More installation instructions can be found in the [User Guide](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/installation.html).

Features
--------

[](#features)

- Provides easy-to-use HTTP clients for all supported AWS [services](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/index.html#supported-services), [regions](http://docs.aws.amazon.com/general/latest/gr/rande.html), and authentication protocols.
- Is built on [Guzzle v5](https://guzzlephp.org), and utilizes many of its features, including persistent connections, concurrent requests, events and plugins, etc.
- Provides convenience features including easy response pagination via [Iterators](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/quick-start.html#iterators), resource [Waiters](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/feature-waiters.html), and simple [modelled responses](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/feature-models.html).
- Provides a [multipart uploader tool](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-s3.html#uploading-large-files-using-multipart-uploads) for Amazon S3 and Amazon Glacier that can be paused and resumed.
- Provides an [Amazon S3 Stream Wrapper](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/service-s3.html#amazon-s3-stream-wrapper), so that you can use PHP's native file handling functions to interact with your S3 buckets and objects like a local filesystem.
- Provides the [Amazon DynamoDB Session Handler](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/feature-dynamodb-session-handler.html) for easily scaling sessions on a fast, NoSQL database.
- Automatically uses [IAM Instance Profile Credentials](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UsingIAM.html#UsingIAMrolesWithAmazonEC2Instances) on configured Amazon EC2 instances.

Getting Started
---------------

[](#getting-started)

1. **Sign up for AWS** – Before you begin, you need to [sign up for an AWS account](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/awssignup.html) and retrieve your AWS credentials.
2. **Minimum requirements** – To run the SDK, your system will need to meet the [minimum requirements](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/requirements.html), including having **PHP &gt;= 5.5.0**compiled with the cURL extension and cURL 7.16.2+ compiled with a TLS backend (e.g., NSS or OpenSSL).
3. **Install the SDK** – Using [Composer](http://getcomposer.org) is the recommended way to install the AWS SDK for PHP. The SDK is available via [Packagist](http://packagist.org) under the [`aws/aws-sdk-php`](https://packagist.org/packages/aws/aws-sdk-php) package. Please see the [Installation section of the User Guide](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/installation.html) for more detailed information about installing the SDK through Composer and other means.
4. **Using the SDK** – The best way to become familiar with how to use the SDK is to read the [User Guide](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/index.html). The [Getting Started Guide](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/quick-start.html) will help you become familiar with the basic concepts, and there are also specific guides for each of the [supported services](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/index.html#supported-services).

Quick Examples
--------------

[](#quick-examples)

### Create an Amazon S3 client

[](#create-an-amazon-s3-client)

```
