PHP code example of quankim / laravel-dynamodb-migrations

1. Go to this page and download the library: Download quankim/laravel-dynamodb-migrations 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/ */

    

quankim / laravel-dynamodb-migrations example snippets


// config/app.php
    'providers' => [
        ...
        QuanKim\LaravelDynamoDBMigrations\DynamoDBMigrationServiceProvider::class
        ...
    ];

// config/aws.php
    use Aws\Laravel\AwsServiceProvider;
    
    return [
    
        /*
        |--------------------------------------------------------------------------
        | AWS SDK Configuration
        |--------------------------------------------------------------------------
        |
        | The configuration options set in this file will be passed directly to the
        | `Aws\Sdk` object, from which all client objects are created. The minimum
        | v('AWS_ENDPOINT', ''),
        'http' => [
            'verify' => false,
        ]
    ];