jippi/vault-php-sdk
最新稳定版本:3.0.0
Composer 安装命令:
composer require jippi/vault-php-sdk
包简介
SDK to talk with vaultproject.io API
README 文档
README
Vault PHP SDK
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
统计信息
- 总下载量: 281.47k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 55
- 点击次数: 1
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-20