PHP code example of laravel-expansions / aws-helpers

1. Go to this page and download the library: Download laravel-expansions/aws-helpers 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/ */

    

laravel-expansions / aws-helpers example snippets


$response = lambda($functionName)->get($payload);

lambda($functionName)->push($payload);

kinesis()->putRecord($record);

kinesis()->putRecords($records);

$secret = ssm(['SecretName1', 'SecretName2']);

$secretValue1 = $secret->SecretName1;
$secretValue2 = $secret->SecretName2;

$secret = ssm(['SecretName1', 'SecretName2'], false);