EdpGithub:Zend Framework 2的Github API集成模块

时间:2021-04-30 14:46:51
【文件属性】:
文件名称:EdpGithub:Zend Framework 2的Github API集成模块
文件大小:44KB
文件格式:ZIP
更新时间:2021-04-30 14:46:51
PHP 适用于ZF2的Github Api模块 介绍 EdpGithub是基于Zend Framework 2的Github Api的包装程序,该框架使用 。 安装 主要设定 将此项目克隆到您的./vendor/目录中,并在application.config.php文件中启用它。 用法 基本用法 这是有关如何使用的简短示例 $client = $serviceManager->get('EdpGithub\Client'); $repos = $client->api('user')->repos('hounddog'); 这将为用户Hounddog提取所有存储库 验证 要使用需要身份验证的功能,您必须先进行身份验证 $client = $serviceManager->get('EdpGithub\Client'); $client->authenticate('url_token', 'ac
【文件预览】:
EdpGithub-master
----.php_cs(1KB)
----.gitignore(40B)
----src()
--------EdpGithub()
----.travis.yml(385B)
----LICENSE(1KB)
----composer.json(1KB)
----Module.php(1KB)
----composer.lock(58KB)
----README.md(1KB)
----phpunit.xml(774B)
----config()
--------module.config.php(2KB)
--------edpgithub.local.php.dist(2KB)
----autoload_classmap.php(6KB)
----test()
--------EdpGithubTest()
--------TestConfig.php.dist(153B)
--------Bootstrap.php(527B)

网友评论