PHP code example of irap / route53-wrapper
1. Go to this page and download the library: Download irap/route53-wrapper 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/ */
irap / route53-wrapper example snippets
# include packagist's autoloader
interfacing with route53
$region = \iRAP\Route53Wrapper\Objects\AwsRegion::create_EU_W1();
$route53Client = new \iRAP\Route53Wrapper\Route53Client('myAwsKey', 'myAwsSecretKey', $region);
# Get our zones...
$hostedZones = $route53Client->getHostedZones();