irap/route53-wrapper

A package that makes it easier to work with AWS Route53

0.1.0 2018-02-28 13:36 UTC

This package is auto-updated.

Last update: 2024-04-24 01:25:21 UTC


README

This is a package to make it much easier to work with the Route53 service.

The AWS documentation for the raw requests this wraps around:

Installation

composer require irap/route53-wrapper

Example Usage

# include packagist's autoloader
require_once(__DIR__ . '/vendor/autoload.php');


# Create the route53 client for 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();