PHPackages                             danielpieper/mrcli - 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. [CLI &amp; Console](/categories/cli)
4. /
5. danielpieper/mrcli

AbandonedArchivedLibrary[CLI &amp; Console](/categories/cli)

danielpieper/mrcli
==================

GitLab pending merge requests overview

v0.2.0(7y ago)331MITPHPPHP ^7.1

Since Jan 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/danielpieper/mrcli)[ Packagist](https://packagist.org/packages/danielpieper/mrcli)[ RSS](/packages/danielpieper-mrcli/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (2)Dependencies (17)Versions (3)Used By (0)

MrCli - GitLab pending merge requests overview [![Build Status](https://camo.githubusercontent.com/45a9e574c2a245a8fbe19b319ba1de6fc043c5209e4011b513e88737ba028601/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f64616e69656c7069657065722f6d72636c692e7376673f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://travis-ci.org/danielpieper/mrcli?branch=master)
======================================================================================================================================================================================================================================================================================================================================================================================================

[](#mrcli---gitlab-pending-merge-requests-overview-)

[![Scrutinizer Coverage](https://camo.githubusercontent.com/ecf289eb653a3e90a02bee9b25bdbd718e74bad5e31705abc154a934c2e73db2/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f64616e69656c7069657065722f6d72636c692e7376673f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/danielpieper/mrcli/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/79c6c2e7524ee551659423eef4be1872c414d29355b07d140cfb62828c8ed12b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f64616e69656c7069657065722f6d72636c692e7376673f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/danielpieper/mrcli/?branch=master)[![License](https://camo.githubusercontent.com/10e85a5778fe7601504a17ecd18dfa7097f473186b0f947bc10db2d3e4f530e4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d7265642e7376673f7374796c653d666c61742d737175617265)](LICENSE)

MrCli checks your gitlab instance for pending merge requests.

Get an overview about the total number of pending mr's by approvers and projects, list mr's for your own, your colleagues or multiple projects.

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

[](#installation)

Install the latest version with

```
$ composer global require danielpieper/mrcli
```

Configuration
-------------

[](#configuration)

`mrcli` is configured using environment variables. The `GITLAB_TOKEN` is required. Create a token with the `api` scope: [https://gitlab.com/profile/personal\_access\_tokens](https://gitlab.com/profile/personal_access_tokens)

```
GITLAB_URL=https://gitlab.com # optional, set for on-premise installations
GITLAB_TOKEN= # create gitlab token with api access: https://gitlab.com/profile/personal_access_tokens
SLACK_WEBHOOK_URL= # optional
SLACK_CHANNEL= # optional
```

Basic Usage
-----------

[](#basic-usage)

```
mrcli overview
mrcli project
mrcli approver
