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

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

aws/aws-sdk-php-resources
=========================

A resource-oriented API for interacting with AWS services

0.3.0(11y ago)1361.9M↓60.4%40[5 issues](https://github.com/awslabs/aws-sdk-php-resources/issues)[2 PRs](https://github.com/awslabs/aws-sdk-php-resources/pulls)10Apache-2.0PHPCI failing

Since Dec 30Pushed 4y ago31 watchersCompare

[ Source](https://github.com/awslabs/aws-sdk-php-resources)[ Packagist](https://packagist.org/packages/aws/aws-sdk-php-resources)[ Docs](http://aws.amazon.com/sdkforphp)[ RSS](/packages/aws-aws-sdk-php-resources/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (2)Versions (5)Used By (10)

AWS Resource APIs for PHP
=========================

[](#aws-resource-apis-for-php)

[![@awsforphp on Twitter](https://camo.githubusercontent.com/c17b2c5b53b824f61a1500d2c0f70eb94ad3d85ab13798c417e499e700878b93/687474703a2f2f696d672e736869656c64732e696f2f62616467652f747769747465722d253430617773666f727068702d626c75652e7376673f7374796c653d666c6174)](https://twitter.com/awsforphp)[![Build Status](https://camo.githubusercontent.com/fec834e69e439ae03c679aabc3ad70510e12c6139d80fc847953508e95dac1a4/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6177736c6162732f6177732d73646b2d7068702d7265736f75726365732e7376673f7374796c653d666c6174)](https://travis-ci.org/awslabs/aws-sdk-php-resources)[![Apache 2 License](https://camo.githubusercontent.com/355c50fa2adac1bb5a6b3d35d2a742eda01561d7692b2b1a4cda41735fd9e828/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6177732f6177732d73646b2d7068702e7376673f7374796c653d666c6174)](http://aws.amazon.com/apache-2-0/)

An extension to the [AWS SDK for PHP](https://github.com/aws/aws-sdk-php) for interacting with AWS services using resource-oriented objects.

Introduction
------------

[](#introduction)

The core AWS SDK for PHP is composed of service client objects that have methods corresponding 1-to-1 with operations in the service's API (e.g., [`Ec2Client::runInstances()` method](http://docs.aws.amazon.com/aws-sdk-php/v3/api/Aws/Ec2/ec2-2014-06-15.html#runinstances) maps to the [EC2 service's RunInstances operation](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html)).

This project builds build upon the SDK to add new types of objects that allow you to interact with the AWS service APIs in a more *resource-oriented* way. This allows you to use a more expressive syntax when working with AWS services, because you are acting on objects that understand their relationships with other resources and that encapsulate their identifying information.

Installation
------------

[](#installation)

You must install the AWS Resource APIs using [Composer](https://getcomposer.org/) by requiring the [`aws/aws-sdk-php-resources` package](https://packagist.org/packages/aws/aws-sdk-php-resources) (`composer require aws/aws-sdk-php-resources`) in your project.

**Note:** The Resource APIs use [Version 3 of the AWS SDK for PHP](https://github.com/aws/aws-sdk-php/tree/v3).

Types of Objects
----------------

[](#types-of-objects)

The Resource APIs introduce 4 new objects, all within the `Aws\Resource`namespace.

### 1. Aws

[](#1-aws)

The `Aws` object acts as the starting point into the resource APIs.

```
