jeffwecan / vault-php-sdk
SDK to talk with vaultproject.io API
Installs: 243
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 33
pkg:composer/jeffwecan/vault-php-sdk
Requires
- guzzlehttp/guzzle: ~6.0
- psr/log: ~1.0
This package is not auto-updated.
Last update: 2025-10-21 09:31:34 UTC
README
Installation
This library can be installed with composer:
composer require jippi/vault-php-sdk
Usage
The simple way to use this SDK, is to instantiate the service factory:
$sf = new Jippi\Vault\ServiceFactory();
Then, a service could be retrieved from this factory:
$sys = $sf->get('sys');
All services methods follow the same convention:
$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
Available services
- sys
- data
License
MIT