PHP code example of aws / aws-sdk-php-symfony

1. Go to this page and download the library: Download aws/aws-sdk-php-symfony 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/ */

    

aws / aws-sdk-php-symfony example snippets


class AppKernel extends Kernel
{
    public function registerBundles()
    {
        return [
            ...
            new \Aws\Symfony\AwsBundle(),
        ];
    }
    ...
}
json
{
    "ws/aws-sdk-php-symfony": "~2.0"
    }
}

php bin/console debug:container aws