PHPackages                             pitcher/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. pitcher/aws-sdk-php

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

pitcher/aws-sdk-php
===================

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

3.19.33.1(9y ago)026Apache-2.0PHPPHP &gt;=5.5CI failing

Since Nov 2Pushed 9y ago5 watchersCompare

[ Source](https://github.com/PitcherAG/aws-sdk-php)[ Packagist](https://packagist.org/packages/pitcher/aws-sdk-php)[ Docs](http://aws.amazon.com/sdkforphp)[ RSS](/packages/pitcher-aws-sdk-php/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (11)Versions (260)Used By (0)

AWS SDK for PHP - Version 3
===========================

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

[![@awsforphp on Twitter](https://camo.githubusercontent.com/c17b2c5b53b824f61a1500d2c0f70eb94ad3d85ab13798c417e499e700878b93/687474703a2f2f696d672e736869656c64732e696f2f62616467652f747769747465722d253430617773666f727068702d626c75652e7376673f7374796c653d666c6174)](https://twitter.com/awsforphp)[![Total Downloads](https://camo.githubusercontent.com/92a023c8d279a2cfa938190f872b8b3bb971a4c6d7e98f96c77204a2eec479bc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6177732f6177732d73646b2d7068702e7376673f7374796c653d666c6174)](https://packagist.org/packages/aws/aws-sdk-php)[![Build Status](https://camo.githubusercontent.com/7f83e98ce950ea5b5e632d31dc63af1400a8167a4bd13f604555623e3891b468/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6177732f6177732d73646b2d7068702e7376673f7374796c653d666c6174)](https://travis-ci.org/aws/aws-sdk-php)[![Apache 2 License](https://camo.githubusercontent.com/355c50fa2adac1bb5a6b3d35d2a742eda01561d7692b2b1a4cda41735fd9e828/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6177732f6177732d73646b2d7068702e7376673f7374796c653d666c6174)](http://aws.amazon.com/apache-2-0/)[!\[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** makes it easy for developers to access [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/v3/guide/getting-started/installation.html)or by downloading a single zip or phar file from our [latest release](https://github.com/aws/aws-sdk-php/releases).

Resources
---------

[](#resources)

- [User Guide](http://docs.aws.amazon.com/aws-sdk-php/v3/guide/index.html) – For both getting started and in-depth SDK usage information
- [API Docs](http://docs.aws.amazon.com/aws-sdk-php/v3/api/index.html) – For details about operations, parameters, and responses
- [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, submit pull requests, and get involved (see [Apache 2.0 License](http://aws.amazon.com/apache2.0/))
- [@awsforphp](https://twitter.com/awsforphp) – Follow us on Twitter
- For Version 2 of the SDK:
    - [User Guide](http://docs.aws.amazon.com/aws-sdk-php/v2/guide/index.html)
    - [API Docs](http://docs.aws.amazon.com/aws-sdk-php/v2/api/index.html)

Features
--------

[](#features)

- Provides easy-to-use HTTP clients for all supported AWS \[services\]\[docs-services\], [regions](http://docs.aws.amazon.com/general/latest/gr/rande.html), and authentication protocols.
- Is built on [Guzzle](http://guzzlephp.org), and utilizes many of its features, including persistent connections, asynchronous requests, middlewares, etc.
- Provides convenience features including easy result pagination via [Paginators](http://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/paginators.html), [Waiters](http://docs.aws.amazon.com/aws-sdk-php/v3/guide/guide/waiters.html), and simple [Result objects](http://docs.aws.amazon.com/aws-sdk-php/v3/guide/getting-started/basic-usage.html#result-objects).
- Provides a [multipart uploader tool](http://docs.aws.amazon.com/aws-sdk-php/v3/guide/service/s3-multipart-upload.html) 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/v3/guide/service/s3-stream-wrapper.html), 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/v3/guide/service/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 and retrieve your [AWS credentials](http://aws.amazon.com/developers/access-keys/).
2. **Minimum requirements** – To run the SDK, your system will need to meet the [minimum requirements](http://docs.aws.amazon.com/aws-sdk-php/v3/guide/getting-started/requirements.html), including having **PHP &gt;= 5.5**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/v3/guide/getting-started/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/v3/guide/index.html). The [Getting Started Guide](http://docs.aws.amazon.com/aws-sdk-php/v3/guide/#getting-started) will help you become familiar with the basic concepts.

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

[](#quick-examples)

### Create an Amazon S3 client

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

```
