mcmatters/gitlab-api
Composer 安装命令:
composer require mcmatters/gitlab-api
包简介
README 文档
README
Installation
composer require mcmatters/gitlab-api
Usage
<?php declare(strict_types = 1); require 'vendor/autoload.php'; $client = new \McMatters\GitlabApi\GitlabClient('URL', 'TOKEN'); // You can use one of the fifth resource contexts: // 1. Groups // 2. Projects // 3. Standalone // 4. Users // 5. Templates // Each of them you can find on https://gitlab.com/help/api/api_resources.md $epics = $client->group()->epic()->list(1); $mergeRequests = $client->project()->mergeRequest()->list(1); $queueMetrics = $client->standalone()->sidekiqMetric()->queueMetrics(); $starredProjects = $client->user()->project()->listStarred(1); $dockerTemplates = $client->template()->dockerfile()->list();
统计信息
- 总下载量: 102
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-10-16