PHP code example of app2641 / aws-client-manager

1. Go to this page and download the library: Download app2641/aws-client-manager library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

app2641 / aws-client-manager example snippets


$ export AWS_ACCESS_KEY_ID=your_aws_access_key
$ export AWS_SECRET_ACCESS_KEY=your_aws_secret_key
# export AWS_DEFAUKT_REGION=your_region


use Acm\Acm;
$s3 = Acm::getS3();
$response = $s3->getObject(....);


$ec2 = Acm::getEc2();
$images = $ec2->describeImages(....);