Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 30, 2024 via composer

aws/aws-sdk-php-laravel 3.8.1

A simple Laravel 5/6/7/8/9 service provider for including the AWS SDK for PHP.
Package summary
Share
0
issues
2
licenses
24
MIT
3
Apache-2.0
Package created
21 Feb 2013
Version published
24 Mar 2023
Maintainers
3
Total deps
27
Direct deps
2
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
24 Packages, Including:
carbonphp/carbon-doctrine-types@3.2.0
doctrine/inflector@2.0.10
guzzlehttp/guzzle@7.8.1
guzzlehttp/promises@2.0.2
guzzlehttp/psr7@2.6.2
illuminate/collections@v10.48.12
illuminate/conditionable@v10.48.12
illuminate/contracts@v10.48.12
illuminate/macroable@v10.48.12
illuminate/support@v10.48.12
mtdowling/jmespath.php@2.7.0
nesbot/carbon@2.72.3
psr/clock@1.0.0
psr/container@2.0.2
psr/http-client@1.0.3
psr/http-factory@1.1.0
psr/simple-cache@3.0.0
ralouphie/getallheaders@3.0.3
symfony/deprecation-contracts@v3.5.0
symfony/polyfill-mbstring@v1.29.0
symfony/polyfill-php80@v1.29.0
symfony/translation@v6.4.7
symfony/translation-contracts@v3.5.0
voku/portable-ascii@2.0.1

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
3 Packages, Including:
aws/aws-crt-php@v1.2.5
aws/aws-sdk-php@3.308.5
aws/aws-sdk-php-laravel@3.8.1
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

2
All Dependencies CSV
β“˜ This is a list of aws/aws-sdk-php-laravel 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
aws/aws-sdk-php3.308.5-Apache-2.0
prod
illuminate/supportv10.48.12-MIT
prod

Visualizations

Frequently Asked Questions

What does aws/aws-sdk-php-laravel do?

The "aws/aws-sdk-php-laravel" is a simple Laravel service provider for effortlessly incorporating the official AWS (Amazon Web Services) SDK (Software Development Kit) for PHP into your Laravel and Lumen applications. This provides developers with a way to interact with Amazon's wide-ranging cloud services like Amazon S3, EC2, DynamoDB, and more directly from their PHP applications. It is compatible with Laravel versions 5 through 10.

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

To make use of the "aws/aws-sdk-php-laravel" in your application, you'll need to first install it via Composer. This can be done by adding "aws/aws-sdk-php-laravel: ~3.0" to the require section of your project's composer.json file and running a composer update (php composer.phar update). Once installation is done, you'll have to register the AWS Service Provider in your application bootstrap file.

If you're using Lumen, include the following line in your bootstrap/app.php file:

    $app->register(Aws\Laravel\AwsServiceProvider::class);

For Laravel, add the provider and the AWS facade alias in the config/app.php file as shown below:

    'providers' => array(
        // ...
        Aws\Laravel\AwsServiceProvider::class,
    )
    
    'aliases' => array(
        // ...
        'AWS' => Aws\Laravel\AwsFacade::class,
    )

With configuration, the package utilizes AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_REGION environment variables for autopilot configuration. You can, however, customize the configuration file (config/aws.php) that gets generated when you run: php artisan vendor:publish --provider="Aws\Laravel\AwsServiceProvider" Finally, you can use the AWS SDK in your app like so:

$s3 = App::make('aws')->createClient('s3');
$s3->putObject(array(
    'Bucket'     => 'YOUR_BUCKET',
    'Key'        => 'YOUR_OBJECT_KEY',
    'SourceFile' => '/the/path/to/the/file/you/are/uploading.ext',
));

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

You can find extensive documentation for the "aws/aws-sdk-php-laravel" service provider on the AWS SDK for PHP Github repository. Information on getting started, seeking help, contributing, and interacting with different AWS services is presented in a detailed, user-friendly manner. Further documentation can be located on the AWS SDK for PHP website.