kuredev/cloudautomator-php

PHP Wrapper for Cloud Automator API

v1.0.2 2017-11-27 01:55 UTC

This package is not auto-updated.

Last update: 2024-05-12 03:38:16 UTC


README

Overview

Description

PHP Wrapper for Cloud Automator API

Requirement

"php": ">=7.0.0", "palanik/wrapi": "*"

Usage

Example

<?php
require_once "vendor/autoload.php";
$ca = new \Kuredev\CA("[CloudAutomatorAccessKey]");

var_dump($ca->get->aws_accounts());
var_dump($ca->get->aws_account(xxx));
$accountArr = array(
    "name" => "xxx",
    "account_number" => "12345678910",
    "access_key_id" => "xxxxx",
    "secret_access_key" => "xxxxxxxxxx"
);
var_dump($ca->post->aws_accounts(json_encode($accountArr)));

Install

$ composer install kuredev/cloudautomator-php

Licence

MIT