PHPackages                             nutoolbox/php-gitlab-client - 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. nutoolbox/php-gitlab-client

ActiveLibrary

nutoolbox/php-gitlab-client
===========================

A modern, type-safe PHP client for the GitLab REST API built on PSR standards.

00

Since Mar 29Pushed 1mo agoCompare

[ Source](https://github.com/NuToolBox/php-gitlab-client)[ Packagist](https://packagist.org/packages/nutoolbox/php-gitlab-client)[ RSS](/packages/nutoolbox-php-gitlab-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

php-gitlab-client
=================

[](#php-gitlab-client)

A modern, type-safe PHP client for the GitLab REST API built on PSR standards.

Features
--------

[](#features)

- PSR-18 HTTP client support
- Type-safe DTOs instead of raw arrays
- Clean and predictable API design
- Strong error handling with domain-specific exceptions
- Designed for extensibility and long-term maintainability

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

[](#installation)

```
composer require nutoolbox/php-gitlab-client
```

Usage
-----

[](#usage)

```
use NuToolbox\Gitlab\Client;
use NuToolbox\Gitlab\Auth\GitlabCredentials;

$client = Client::create(
    new GitlabCredentials(
        baseUrl: 'https://gitlab.example.com',
        token: 'your-token'
    )
);

$projects = $client->projects()->list();

foreach ($projects as $project) {
    echo $project->pathWithNamespace . PHP_EOL;
}
```

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

[](#requirements)

- PHP 8.3+
- PSR-18 compatible HTTP client

Philosophy
----------

[](#philosophy)

This library focuses on:

- strict typing over loosely structured arrays
- clear abstractions over API mirroring
- long-term maintainability over quick wrappers

License
-------

[](#license)

Apache License 2.0

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance60

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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/981e7d33e845cbf63bb52f9d61b32a41421f88392f488970a9023858aa0e30d3?d=identicon)[Nusphere](/maintainers/Nusphere)

---

Top Contributors

[![nusphere](https://avatars.githubusercontent.com/u/5822825?v=4)](https://github.com/nusphere "nusphere (2 commits)")

### Embed Badge

![Health badge](/badges/nutoolbox-php-gitlab-client/health.svg)

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

PHPackages © 2026

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