zeichen32 / gitlabapi
0.1.1
2013-02-25 16:36 UTC
Requires
- php: >=5.3.0
- kriswallsmith/buzz: *
Suggests
- zeichen32/gitlabapibundle: Include the gitlab issue tracker in your symfony2 project.
This package is auto-updated.
Last update: 2020-04-29 12:01:56 UTC
README
PHP 库,方便访问 gitlab api。
此库目前处于开发阶段,因此没有稳定版本可供使用。
如果您正在寻找稳定库,请查看: https://github.com/m4tthumphrey/php-gitlab-api
使用方法
$browser = new \Buzz\Browser(); $client = new \GitLab\Client($browser, 'your-key', 'http://your-gitlab-server.com'); // Api calls var_dump($client->api('user')->getUsers()); var_dump($client->api('issues')->getIssues()); // The Alternative way $issue_api = new \GitLab\Api\IssueApi($client); var_dump($issue_api->getIssues());