PHP code example of builtbyeleven / imds
1. Go to this page and download the library: Download builtbyeleven/imds 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/ */
builtbyeleven / imds example snippets
use BuiltByEleven\Imds\Imds;
$imds = new Imds();
// Get AMI ID
echo $imds->amiId();