PHPackages                             alextartan/mezzio-symfony-console - 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. alextartan/mezzio-symfony-console

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

alextartan/mezzio-symfony-console
=================================

This project adds a executable file to the composer bin folder to run symfony commands under a mezzio application environment.

3.1.0(3y ago)239.5k↓39.4%1[3 PRs](https://github.com/alextartan/mezzio-symfony-console/pulls)MITPHPPHP ^8.0 || ^8.1 || ^8.2

Since Feb 28Pushed 3y agoCompare

[ Source](https://github.com/alextartan/mezzio-symfony-console)[ Packagist](https://packagist.org/packages/alextartan/mezzio-symfony-console)[ RSS](/packages/alextartan-mezzio-symfony-console/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (11)Versions (12)Used By (0)

Current build status
====================

[](#current-build-status)

[![CI](https://github.com/alextartan/mezzio-symfony-console/workflows/CI/badge.svg?branch=master)](https://github.com/alextartan/mezzio-symfony-console/workflows/CI/badge.svg?branch=master)[![codecov](https://camo.githubusercontent.com/f29e779d41dc895acc809b7c5040c804804eb7deb622d7e9081654074a91aa75/68747470733a2f2f636f6465636f762e696f2f67682f616c657874617274616e2f6d657a7a696f2d73796d666f6e792d636f6e736f6c652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/alextartan/mezzio-symfony-console)[![Mutation testing badge](https://camo.githubusercontent.com/a866a9ba620c868d00c442f435fd196c9dbc6da0d5b0de94085f7ad75395d4db/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d253246616c657874617274616e2532466d657a7a696f2d73796d666f6e792d636f6e736f6c652532466d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/alextartan/mezzio-symfony-console/master)[![Downloads](https://camo.githubusercontent.com/f259e9191a20c1ab0dd818dc155b8efd253af5dc1584057d7508f587fb46480c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e2e7376673f75726c3d68747470733a2f2f7265706f2e7061636b61676973742e6f72672f7061636b616765732f616c657874617274616e2f6d657a7a696f2d73796d666f6e792d636f6e736f6c652e6a736f6e266c6162656c3d446f776e6c6f6164732671756572793d242e7061636b6167652e646f776e6c6f6164732e746f74616c26636f6c6f72423d6f72616e6765)](https://packagist.org/packages/alextartan/mezzio-symfony-console)

mezzio symfony console
======================

[](#mezzio-symfony-console)

This project adds a executable file to the composer bin folder to run symfony commands under a zend-expressive application environment.

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

[](#installation)

### Requirements

[](#requirements)

- PHP 8.2
- a config/container.php file (returns a ContainerInterface instance)

### Composer installation

[](#composer-installation)

```
$ composer require alextartan/mezzio-symfony-console
```

### Configuration

[](#configuration)

#### zend-expressive configuration

[](#zend-expressive-configuration)

Add the \\AlexTartan\\Mezzio\\SymfonyConsole\\ConfigProvider to the config/config.php file.

#### Configuration of the symfony console application

[](#configuration-of-the-symfony-console-application)

- Add this configuration to your application config (ex.: config/autoload/mezzio-sf-console.global.php).
- It is recommended to define the command name.

```
[
    'mezzio-symfony-console' => [
        'name' => 'Console Name',
        'version' => '1.0.0', // optional
        'commands' => [
            // add the command service names here
            // ex.: 'foo:bar' => Command::class, // recommended, lazy
            // ex.: Command::class, // not lazy
        ],
    ],

    'dependencies' => [
        'factories' => [
            // add commands as a service to the container
            // ex.: Command::class => CommandFactory::class,
        ],
    ],
],
```

Run commands
------------

[](#run-commands)

This module adds a executable file under the composer bin directory to execute symfony commands.

```
$ vendor/bin/mezzio-sf-console list
```

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~228 days

Total

8

Last Release

1149d ago

Major Versions

v1.0.0 → 2.0.02020-01-20

2.0.2 → 3.0.02021-12-17

PHP version history (5 changes)v1.0.0PHP ^7.1

2.0.0PHP &gt;=7.4

3.0.0PHP &gt;=8.1

3.0.2PHP ^8.0 || ^8.1

3.1.0PHP ^8.0 || ^8.1 || ^8.2

### Community

Maintainers

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

---

Top Contributors

[![alextartan](https://avatars.githubusercontent.com/u/1787996?v=4)](https://github.com/alextartan "alextartan (28 commits)")[![tommyseus](https://avatars.githubusercontent.com/u/637664?v=4)](https://github.com/tommyseus "tommyseus (16 commits)")[![abordeianu-bd](https://avatars.githubusercontent.com/u/90854535?v=4)](https://github.com/abordeianu-bd "abordeianu-bd (6 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (4 commits)")[![atirtan](https://avatars.githubusercontent.com/u/74187125?v=4)](https://github.com/atirtan "atirtan (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

consolesymfonymezzio

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/alextartan-mezzio-symfony-console/health.svg)

```
[![Health](https://phpackages.com/badges/alextartan-mezzio-symfony-console/health.svg)](https://phpackages.com/packages/alextartan-mezzio-symfony-console)
```

###  Alternatives

[behat/behat

Scenario-oriented BDD framework for PHP

4.0k101.8M2.2k](/packages/behat-behat)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M203](/packages/sulu-sulu)[buggregator/trap

A simple and powerful tool for debugging PHP applications.

2702.2M68](/packages/buggregator-trap)[testo/testo

A lightweight PHP testing framework.

1959.3k55](/packages/testo-testo)[whatsdiff/whatsdiff

See what's changed in your project's dependencies

771.2k](/packages/whatsdiff-whatsdiff)[aeliot/todo-registrar

Register TODOs from source code in issue tracker

153.0k](/packages/aeliot-todo-registrar)

PHPackages © 2026

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