PHPackages                             koenhendriks/gitlab-merge-requests - 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. koenhendriks/gitlab-merge-requests

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

koenhendriks/gitlab-merge-requests
==================================

Display merge requests from a user from Gitlab.

1.1.1(7y ago)02MITPHPPHP ^7.1.3

Since Jun 11Pushed 7y agoCompare

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

READMEChangelogDependencies (5)Versions (4)Used By (0)

Gitlab Merge Requests
=====================

[](#gitlab-merge-requests)

This package shows the merge requests from your GitLab user profile.

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

[](#installation)

You can install this using composer in your Laravel project:

```
composer require koenhendriks/gitlab-merge-requests
```

Config
------

[](#config)

Add the following data to your `.env` file:

```
GITLAB_API_KEY=xx
GITLAB_URL=https://git.company.com/
```

Usage
-----

[](#usage)

Run the following artisan command after setting up the configuration:

```
php artisan gitlab:merge-requests
```

By default this will get the merge requests that have been merged in the last 7 days. You can pass in a integer in the first argument to get merge requests from a longer period of time.

Get MR's from last 2 weeks:

```
php artisan gitlab:merge-requests 14
```

Get MR's from last 2 weeks with specific labels:

```
php artisan gitlab:merge-requests 14 --labels=feature --labels=bug
```

For all options use the `-h` option provided by Laravel.

```
php artisan gitlab-merge-requests -h
```

```
Options:
      --wip[=WIP]              Filter merge requests against their wip status. 'yes' to return only WIP merge requests, no to return non WIP merge requests [default: "no"]
      --state[=STATE]          Return all merge requests or just those that are opened, 'closed', 'locked', or 'merged [default: "merged"]
      --order_by[=ORDER_BY]    Return requests ordered by 'created_at' or 'updated_at' fields. [default: "created_at"]
      --sort[=SORT]            Return requests sorted in 'asc' or 'desc' order. [default: "desc"]
      --labels[=LABELS]        Return merge requests matching labels. 'None' lists all merge requests with no labels. 'Any' lists all merge requests with at least one label. Predefined names are case-insensitive. (multiple values allowed)
      --scope[=SCOPE]          Return merge requests for the given scope: 'created_by_me', 'assigned_to_me' or 'all'. [default: "all"]
      --milestone[=MILESTONE]  Return merge requests for a specific milestone. 'None' returns merge requests with no milestone. 'Any' returns merge requests that have an assigned milestone. [default: "any"]

```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

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

Total

3

Last Release

2556d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4124579?v=4)[Koen Hendriks](/maintainers/koenhendriks)[@koenhendriks](https://github.com/koenhendriks)

---

Top Contributors

[![koenhendriks](https://avatars.githubusercontent.com/u/4124579?v=4)](https://github.com/koenhendriks "koenhendriks (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/koenhendriks-gitlab-merge-requests/health.svg)

```
[![Health](https://phpackages.com/badges/koenhendriks-gitlab-merge-requests/health.svg)](https://phpackages.com/packages/koenhendriks-gitlab-merge-requests)
```

###  Alternatives

[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[flarum/core

Delightfully simple forum software.

201.4M2.2k](/packages/flarum-core)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

42010.0k](/packages/venturedrake-laravel-crm)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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