jrschumacher / silex-provider-gitlab
Silex 框架的 Gitlab API 提供器(m4tthumphrey/php-gitlab-api)
0.1
2014-06-13 02:24 UTC
Requires
- m4tthumphrey/php-gitlab-api: *
- silex/silex: >=1.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-09-24 00:46:34 UTC
README
为 silex 微型框架提供的 Gitlab 服务提供器。请在此查看: https://github.com/m4tthumphrey/php-gitlab-api
示例
<?php use Silex\Application; $url = 'http://gitlab.example.com/api/v3'; $key = 'key'; $app = new Application(); $app->register(new GitlabServiceProvider(), array( "gitlab.url" => $url, "gitlab.key" => $key )); $app['gitlab']->api('projects')->show();
使用 Composer 安装
{ "require": { "jrschumacher/silex-provider-gitlab": "~0.0" } }