jrschumacher/silex-provider-gitlab

Silex provider for Gitlab API (m4tthumphrey/php-gitlab-api)

0.1 2014-06-13 02:24 UTC

This package is not auto-updated.

Last update: 2024-11-05 01:17:21 UTC


README

Gitlab service provider for silex micro-framework. Check here: https://github.com/m4tthumphrey/php-gitlab-api

Example

<?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();

Install with Composer

{
    "require": {
        "jrschumacher/silex-provider-gitlab": "~0.0"
    }
}