PHPackages                             neilime/php-gitlab-ci-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. neilime/php-gitlab-ci-sdk

AbandonedArchivedLibrary[API Development](/categories/api)

neilime/php-gitlab-ci-sdk
=========================

GitLab CI SDK

8121PHP

Since Nov 23Pushed 10y ago1 watchersCompare

[ Source](https://github.com/neilime/php-gitlab-ci-sdk)[ Packagist](https://packagist.org/packages/neilime/php-gitlab-ci-sdk)[ RSS](/packages/neilime-php-gitlab-ci-sdk/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Gitlab CI SDK
=============

[](#gitlab-ci-sdk)

[![Latest Stable Version](https://camo.githubusercontent.com/78fe459636216483d7024ae09c1aee2dd16cb9f47a9408a0323cc94330b0a3dd/68747470733a2f2f706f7365722e707567782e6f72672f6e65696c696d652f7068702d6769746c61622d63692d73646b2f762f737461626c652e706e67)](https://packagist.org/packages/neilime/php-gitlab-ci-sdk)[![Total Downloads](https://camo.githubusercontent.com/90db7044eeca599ebce63a18ed4e73deb6b963daa419d328b4d1342fad7b60e0/68747470733a2f2f706f7365722e707567782e6f72672f6e65696c696d652f7068702d6769746c61622d63692d73646b2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/neilime/php-gitlab-ci-sdk)

NOTE : If you want to contribute don't hesitate, I'll review any PR.

Introduction
------------

[](#introduction)

Gitlab CI SDK is a PHP Wrapper for use with the [Gitlab CI API](https://github.com/gitlabhq/gitlab-ci/blob/master/doc/api/api.md).

Based on [php-gitlab-api](https://github.com/m4tthumphrey/php-gitlab-api).

Requirements
------------

[](#requirements)

- [Buzz](https://github.com/kriswallsmith/Buzz) (&gt;=0.7).

Installation
------------

[](#installation)

### Main Setup

[](#main-setup)

#### By cloning project

[](#by-cloning-project)

1. Install the [Buzz](https://github.com/kriswallsmith/Buzz) (&gt;=0.7) by cloning them into `./vendor/`.
2. Clone this project into your `./vendor/` directory.

#### With composer

[](#with-composer)

1. Add this project in your composer.json:

    ```
    "require": {
        "neilime/php-gitlab-ci-sdk": "1.0.0"
    }
    ```
2. Now tell composer to download AssetsBundle by running the command:

    ```
    $ php composer.phar update
    ```

General API Usage
-----------------

[](#general-api-usage)

```
$oClient = new \GitlabCI\Client('http://ci.example.com/api/v1/'); // change here
$oClient->authenticate('your_gitlab_ci_token_here','http://demo.gitlab.com', \GitlabCI\Client::AUTH_URL_TOKEN); // change here

$oProject = $oClient->api('projects')->create('My Project', array(
  'gitlab_id' => 2,
));
```

Model Usage
-----------

[](#model-usage)

You can also use the library in an object oriented manner.

```
$oClient = new \GitlabCI\Client('http://ci.example.com/api/v1/'); // change here
$oClient->authenticate('your_gitlab_ci_token_here','http://demo.gitlab.com', \GitlabCI\Client::AUTH_URL_TOKEN); // change here
```

Creating a new project

```
$oProject = \GitlabCI\Model\Project::create($oClient, 'My Project', array(
  'gitlab_id' => 2,
));
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0cd480ea3050a483f3e08c365a6d847402b4edb110d706111d13ef33b845ef9f?d=identicon)[neilime](/maintainers/neilime)

---

Top Contributors

[![neilime](https://avatars.githubusercontent.com/u/314088?v=4)](https://github.com/neilime "neilime (6 commits)")

### Embed Badge

![Health badge](/badges/neilime-php-gitlab-ci-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/neilime-php-gitlab-ci-sdk/health.svg)](https://phpackages.com/packages/neilime-php-gitlab-ci-sdk)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
