PHPackages                             hcesrl/gitlab-composer - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hcesrl/gitlab-composer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hcesrl/gitlab-composer
======================

A Composer repository index generator for your GitLab CE projects

v0.2.0(6y ago)5109MITPHPCI failing

Since Mar 1Pushed 6y ago5 watchersCompare

[ Source](https://github.com/HCESrl/gitlab-composer)[ Packagist](https://packagist.org/packages/hcesrl/gitlab-composer)[ RSS](/packages/hcesrl-gitlab-composer/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

hcesrl/gitlab-composer
----------------------

[](#hcesrlgitlab-composer)

[![License](https://camo.githubusercontent.com/30597ff9a350144f03bffdd9183e16468e0b3ca1193e1d08591d992622738d55/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://tldrlegal.com/license/mit-license)

A [Composer repository](https://getcomposer.org/doc/05-repositories.md#composer) index generator for your GitLab CE projects.

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

[](#installation)

Install the package:

```
composer require hcesrl/gitlab-composer
```

Usage
-----

[](#usage)

Create a new instance of the `Packages` object with the GitLab CE Api endpoint and the access token:

```
$packages = new \GitLabComposer\Packages( 'https://gitlab.example.com/api/v4/', 'some_access_token' );
```

Customize the behaviour by setting a path for the cache files and a whitelist of groups and projects:

```
$packages->setCachePath ( __DIR__ . '/../cache' );

$packages->addGroup ( 'group1', 'group2' );

$packages->addProject ( 'group1/foo', 'group2/bar', 'group2/foobar' );
```

Render the packages json file:

```
$packages->render();
```

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

Authors
-------

[](#authors)

- [HCE](https://www.hce.it/)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

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.

###  Release Activity

Cadence

Every ~371 days

Total

3

Last Release

2254d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d271042667fe70c2ba939f18a40ce0f27429471f532cadf324a0e87617ab3009?d=identicon)[fsavina](/maintainers/fsavina)

---

Top Contributors

[![fsavina](https://avatars.githubusercontent.com/u/4038144?v=4)](https://github.com/fsavina "fsavina (11 commits)")

---

Tags

composergitlabpackages

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hcesrl-gitlab-composer/health.svg)

```
[![Health](https://phpackages.com/badges/hcesrl-gitlab-composer/health.svg)](https://phpackages.com/packages/hcesrl-gitlab-composer)
```

###  Alternatives

[jean85/pretty-package-versions

A library to get pretty versions strings of installed dependencies

1.3k289.5M63](/packages/jean85-pretty-package-versions)[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k37.3M2.1k](/packages/ergebnis-composer-normalize)[bamarni/composer-bin-plugin

No conflicts for your bin dependencies

52722.0M859](/packages/bamarni-composer-bin-plugin)[composer/metadata-minifier

Small utility library that handles metadata minification and expansion.

181115.0M13](/packages/composer-metadata-minifier)[shipmonk/composer-dependency-analyser

Fast detection of composer dependency issues (dead dependencies, shadow dependencies, misplaced dependencies)

6076.7M435](/packages/shipmonk-composer-dependency-analyser)[flarum/extension-manager

An extension manager to install, update and remove extension packages from the interface (Wrapper around composer).

12211.5k](/packages/flarum-extension-manager)

PHPackages © 2026

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