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-19 01:29:13 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"
    }
}