zeichen32/gitlabapi

This package is abandoned and no longer maintained. The author suggests using the m4tthumphrey/php-gitlab-api package instead.

Gitlab api php wrapper

0.1.1 2013-02-25 16:36 UTC

This package is auto-updated.

Last update: 2020-04-29 12:01:56 UTC


README

PHP Library for easy access to the gitlab api.

This library is currently in development, so no stable release is available.

If you are looking for stable library, you should take a look at: https://github.com/m4tthumphrey/php-gitlab-api

Usage

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