PHP code example of fauguste / cloudwatch-script-php

1. Go to this page and download the library: Download fauguste/cloudwatch-script-php 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/ */

    

fauguste / cloudwatch-script-php example snippets


# Using PHP5
php5-cli, php5-curl

# Using PHP7
php-cli, php-curl

php metrics.php [-f config-file]

php alarmes.php [-f config-file]

php delete-alarmes.php [-f config-file]