gridonic/hapi
最新稳定版本:0.1
Composer 安装命令:
composer require gridonic/hapi
包简介
PHP Wrapper Library for the Harvest API
README 文档
README
PHP Wrapper Library for the Harvest API.
Usage
<?php require __DIR__ . '/vendor/autoload.php'; $api = new Harvest\HarvestApi(); $api->setUser('your@email.com'); $api->setPassword('password'); $api->setAccount('account'); $result = $api->getClient(12345);
Run tests
Tests include some live API calls by default. For this to work, you will have to create a local copy of
harvest_api_config.json by copying the provided harvest_api_config.json.dist and providing your own
Harvest account credentials.
In order to exclude the tests that require a valid Harvest account and internet connection, invoke the test runner as follows:
phpunit --exclude-group=internet
License
Hapi is licensed under the GPL-3 License - see the LICENSE file for details
Acknowledgements
This version of the library is a rewrite that uses composer and proper PSR-0 standard for autoloading. The original version of the library was written by Matthew John Denton and can be downloaded from http://labs.mdbitz.com/harvest-api
Submitting bugs and feature requests
Since this is a rewrite, it is very well possible that some parts of the library do not work yet or anymore. Bugs and feature request are tracked on GitHub
统计信息
- 总下载量: 18.03k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 42
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2013-03-26