2017 © Pedro Peláez
 

library vault-php-sdk

SDK to talk with vaultproject.io API

image

jippi/vault-php-sdk

SDK to talk with vaultproject.io API

  • Monday, May 7, 2018
  • by jippi
  • Repository
  • 1 Watchers
  • 32 Stars
  • 25,730 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 23 Forks
  • 2 Open issues
  • 3 Versions
  • 40 % Grown

The README.md

Vault PHP SDK

Installation

This library can be installed with composer:, (*1)

composer require jippi/vault-php-sdk

Usage

The simple way to use this SDK, is to instantiate the service factory:, (*2)

$sf = new Jippi\Vault\ServiceFactory();

Then, a service could be retrieved from this factory:, (*3)

$sys = $sf->get('sys');

All services methods follow the same convention:, (*4)

$response = $service->method($mandatoryArgument, $someOptions);
  • All API mandatory arguments are placed as first;
  • All API optional arguments are directly mapped from $someOptions;
  • All methods return raw guzzle response.

Examples

The examples directory is a pure extract from my own CakePHP 3 app using the SDK - its crude, but should show the basics of the SDK, (*5)

Available services

  • sys
  • data

License

MIT, (*6)

The Versions

07/05 2018

dev-master

9999999-dev

SDK to talk with vaultproject.io API

  Sources   Download

MIT

The Requires

 

12/12 2016

2.0.0

2.0.0.0

SDK to talk with vaultproject.io API

  Sources   Download

MIT

The Requires

 

20/04 2016

1.0.0

1.0.0.0

SDK to talk with vaultproject.io API

  Sources   Download

MIT

The Requires