PHPackages                             mariusz-kraj/gitlab-reporter - 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. mariusz-kraj/gitlab-reporter

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

mariusz-kraj/gitlab-reporter
============================

Simple package for reporting bugs results to the Gitlab.com merge request in form of the comments

0.0.13(8y ago)11.6kMITPHPPHP ~7.1

Since Nov 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mariusz-kraj/gitlab-reporter)[ Packagist](https://packagist.org/packages/mariusz-kraj/gitlab-reporter)[ RSS](/packages/mariusz-kraj-gitlab-reporter/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (4)Versions (14)Used By (0)

Gitlab.com CI reporter
======================

[](#gitlabcom-ci-reporter)

Instalation
-----------

[](#instalation)

1. Install from composer

```
composer require --dev "mariusz-kraj/gitlab-reporter:*"

```

2. Add config file ".gitlab-ci-reporter.yml" in the root of your project:

```
reporters:
    phpunit:
        path: 'tests/_output/report.xml'
        failIfNotFound: true
    phpcs:
        path: 'build/phpcs.xml'
        failIfNotFound: true
    phpmd:
        path: 'build/phpmd.xml'
        failIfNotFound: true
```

3. Add 'after\_' to your "gitlab-ci.yml":

```
after_script:
  - bin/gitlab-reporter publish
```

4. Generate access code and add [secret variable](https://docs.gitlab.com/ee/ci/variables/#secret-variables)

    1. Go to [access token](https://gitlab.com/profile/personal_access_tokens)
    2. Give access to API
    3. Copy token
    4. Go to the Project &gt; Settings &gt; CI\\CD &gt; Secret Variables
    5. Create *ACCESS TOKEN* variable with the token as a value
5. Create a new merge request and wait for comments!

To Do
-----

[](#to-do)

- Tests
- Documentation
- Config validation
- PHPUnit Coverage reports
- Comments with attachments
- Changing state of merge request depending on the reports
- Instructions for contributors

Limitations
-----------

[](#limitations)

- Gitlab CI doesn't have environmental variable with merge request id,library is searching for MR from current branch. If there would be more than one MR from one branch (why?) it will take the first one and ignore rest

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

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 ~6 days

Recently: every ~14 days

Total

13

Last Release

3117d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17569727?v=4)[mariusz-kraj-c](/maintainers/mariusz-kraj-c)[@mariusz-kraj-c](https://github.com/mariusz-kraj-c)

---

Top Contributors

[![mariusz-kraj](https://avatars.githubusercontent.com/u/2606986?v=4)](https://github.com/mariusz-kraj "mariusz-kraj (16 commits)")

### Embed Badge

![Health badge](/badges/mariusz-kraj-gitlab-reporter/health.svg)

```
[![Health](https://phpackages.com/badges/mariusz-kraj-gitlab-reporter/health.svg)](https://phpackages.com/packages/mariusz-kraj-gitlab-reporter)
```

###  Alternatives

[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19467.3M1.9k](/packages/drupal-core)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k6.0M777](/packages/sylius-sylius)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103574.3k69](/packages/friendsoftypo3-content-blocks)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6943.5M448](/packages/drupal-core-recommended)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M668](/packages/shopware-core)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)

PHPackages © 2026

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