abenity/abenity-php
最新稳定版本:v2.2.1
Composer 安装命令:
composer require abenity/abenity-php
包简介
PHP client for the Abenity API documented at https://abenity.com/developers/api
README 文档
README
A PHP library for using the Abenity API.
You can find the full API documentation in the official documentation.
Requirements
This library works with PHP versions 7 and 8 and requires the OpenSSL module
Installation
With Composer
abenity/abenity-php package is available on Packagist.
Include it in your composer.json as follows:
-
Add abenity/abenity-php as a dependency in composer.json.
composer require abenity/abenity-php:^2 -
Now
Abenitywill be autoloaded into your project.require 'vendor/autoload.php'; $abenity = new Abenity\ApiClient('my_api_key','my_api_username','my_api_password');
Manually
-
Download the latest release.
-
Extract into a folder in your project root named "abenity-php".
-
Include
Abenityin your project like this:require 'abenity-php/lib/Abenity.php'; $abenity = new Abenity\ApiClient('my_api_key','my_api_username','my_api_password');
Usage
See examples folder
Contributing
Run the tests from the project root with PHPUnit like this:
[abenity-php]# phpunit tests
统计信息
- 总下载量: 116.45k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-11-07