Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 17, 2024 via composer

aws/aws-sdk-php 3.300.9

AWS SDK for PHP - Use Amazon Web Services in your PHP project
Package summary
Share
0
issues
2
licenses
9
MIT
2
Apache-2.0
Package created
2 Nov 2012
Version published
1 Mar 2024
Maintainers
5
Total deps
11
Direct deps
5
License
Apache-2.0

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
9 Packages, Including:
guzzlehttp/guzzle@7.8.1
guzzlehttp/promises@2.0.2
guzzlehttp/psr7@2.6.2
mtdowling/jmespath.php@2.7.0
psr/http-client@1.0.3
psr/http-factory@1.1.0
ralouphie/getallheaders@3.0.3
symfony/deprecation-contracts@v3.5.0
symfony/polyfill-mbstring@v1.29.0

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
2 Packages, Including:
aws/aws-crt-php@v1.2.5
aws/aws-sdk-php@3.300.9
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

5
All Dependencies CSV
β“˜ This is a list of aws/aws-sdk-php 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
aws/aws-crt-phpv1.2.5-Apache-2.0
prod
guzzlehttp/guzzle7.8.1112.34 kBMIT
prod
guzzlehttp/promises2.0.225.27 kBMIT
prod
guzzlehttp/psr72.6.276.41 kBMIT
prod
mtdowling/jmespath.php2.7.027.5 kBMIT
prod

Visualizations

Frequently Asked Questions

What does aws/aws-sdk-php do?

The aws/aws-sdk-php is an open-source software development kit that provides a way for PHP developers to integrate their applications and software with Amazon Web Services (AWS). It enables developers to interact with AWS services, such as Amazon S3 and Amazon DynamoDB, directly from their PHP code. AWS's extensive offerings, from secure file storage to database functionalities and beyond, can be simplified and streamlined using the AWS SDK for PHP.

How do you use aws/aws-sdk-php?

The aws/aws-sdk-php can be incorporated into a PHP project through Composer, a commonly used tool for dependency management in PHP. Once you have Composer installed globally on your system, you can easily add the AWS SDK as a dependency by running the following command in the base directory of your project:

composer require aws/aws-sdk-php

After successful installation, you can import the SDK into your PHP script using the Composer's autoloader and start using AWS services. For instance, to create an Amazon S3 client, you can use this code:

<?php
require 'vendor/autoload.php';
use Aws\S3\S3Client;
$s3 = new S3Client([
    'version' => 'latest',
    'region'  => 'us-west-2'
]);

And to upload a file to Amazon S3, you can do something like this:

<?php
try {
    $s3->putObject([
        'Bucket' => 'my-bucket',
        'Key'    => 'my-object',
        'Body'   => fopen('/path/to/file', 'r'),
        'ACL'    => 'public-read',
    ]);
} catch (Aws\S3\Exception\S3Exception $e) {
    echo "There was an error uploading the file.\n";
}

Remember to replace my-bucket, my-object, and /path/to/file with your actual Bucket name, Object Key, and the path to your file, respectively.

Where are the aws/aws-sdk-php docs?

The official AWS SDK for PHP documentation, which offers both getting started and in-depth usage information, is available on the AWS website. You can find it here. The documentation discusses various topics from how to sign up for AWS and retrieve your AWS credentials, minimal system requirements to run the SDK, and how to install and use the SDK, to more detailed topics like how to use different AWS services, exception handling, and much more.