PHP code example of dlowhorn / purge-snapshots

1. Go to this page and download the library: Download dlowhorn/purge-snapshots 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/ */

    

dlowhorn / purge-snapshots example snippets


php purgeSnapshots.php [resource name] [aws region] [days to keep] [api version]

php purgeSnapshots.php my-lightsail-instance-name us-east-1 5 2016-11-28