PHPackages                             kdauzickas/console-alias - 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. kdauzickas/console-alias

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

kdauzickas/console-alias
========================

Helper to quickly define aliases for commands

v0.1.1(11y ago)018MITPHPPHP &gt;=5.3

Since Apr 3Pushed 11y ago1 watchersCompare

[ Source](https://github.com/kdauzickas/console-alias)[ Packagist](https://packagist.org/packages/kdauzickas/console-alias)[ RSS](/packages/kdauzickas-console-alias/feed)WikiDiscussions master Synced today

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

Console Alias
=============

[](#console-alias)

This minimal bundle allows you to quickly define console commands that can be either aliases for other symfony console commands or actual shell commands.

### Installation

[](#installation)

1. Run `composer require kdauzickas/console-alias`
2. Add `new KD\Console\AliasBundle\KDConsoleAliasBundle()` to `$bundles` in your `AppKernel`

### Configuration

[](#configuration)

Commands are created from what is defined in your `config.yml`. Configuration shoud be done in the manner shown below. Only `name` and `command` fields are mondatory.

```
kd_console_alias:
    commands:
        commandName:
            name: "command name that will be used to call the command"
            description: "description to be shown in command list"
            console: "is this a symfony console command alias? Default: false"
            command: "actual command"
            arguments:
                - list of
                - arguments
                - to be passed
                - to the command

```

Example:

```
kd_console_alias:
    commands:
        pmd:
            name: pmd
            description: Run phpmd
            command: bin/phpmd
            arguments:
                - src
                - text
                - cleancode,codesize,controversial,design,naming,unusedcode

        config:
            name: "c:d"
            description: Alias of the config:debug symfony command
            command: "config:debug"
            console: true

```

This will allow you to run a command `app/console pmd` that will execute `bin/phpmd src text cleancode,codesize,controversial,design,naming,unusedcode`. Command `app/console c:d`will execute `app/console config:debug`

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

4110d ago

### Community

Maintainers

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

---

Top Contributors

[![kdauzickas](https://avatars.githubusercontent.com/u/1934472?v=4)](https://github.com/kdauzickas "kdauzickas (2 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/kdauzickas-console-alias/health.svg)

```
[![Health](https://phpackages.com/badges/kdauzickas-console-alias/health.svg)](https://phpackages.com/packages/kdauzickas-console-alias)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[vitre/php-console-bundle

Provides PHP console implementation

1311.9k](/packages/vitre-php-console-bundle)[seiffert/console-extra-bundle

This bundle adds support for commands defined as DI services

201.4k](/packages/seiffert-console-extra-bundle)

PHPackages © 2026

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