Registry / cloud / aws-aws-sdk-php

aws-aws-sdk-php

JSON →
library3.369.31phppackagistunverified

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

composer require aws/aws-sdk-php
INSTALL
IMPORT
SIG · AWS-AWS-SDK-PHP
A
aws-aws-sdk-php
cloudphpv3.369.31
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

S3Client
use Aws\S3\S3Client;

Create an S3 client and list buckets

use Aws\S3\S3Client; $client = new S3Client([ 'version' => 'latest', 'region' => 'us-east-1', 'credentials' => [ 'key' => 'your-key', 'secret' => 'your-secret', ], ]); $result = $client->listBuckets();
Debug
Known issues
breakingRequires PHP 8.1+ for version 3.x
fix
Upgrade PHP or use an older version like 2.x
affects: >=3.0
gotchaCredentials must be configured properly; common mistake is missing region
fix
Always specify region and credentials explicitly or use environment variables
affects: *
Upgrade
Version history
3.369.31latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
18
Resources
aws-aws-sdk-php — pip install aws-aws-sdk-php · libregistry