Loading...
 
The AWS SDK for PHP enables developers to build solutions for Amazon Web Services

AWS SDK for PHP

The AWS SDK for PHP enables developers to build solutions for Amazon Simple Storage Service (Amazon S3), Amazon Elastic Compute Cloud (Amazon EC2), Amazon SimpleDB, and more. With the AWS SDK for PHP, developers can get started in minutes with a single, downloadable package.1

References

New Project

via Composer

Installing via Composer

php composer.phar require aws/aws-sdk-php

PHP

<?php
require 'vendor/autoload.php';

Credentials

...credentials should be detected by the SDK from either:2

  1. environment variables (via AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY)
  2. an AWS credentials INI file in your HOME directory (see AWS Command Line Interface)
  3. AWS Identity and Access Management (IAM) instance profile credentials
  4. or credential providers.

Last edited by MichaelAlber .
Page last modified on Sunday May 19, 2019 18:12:49 UTC.