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 1mo ago

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 27% 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

4064d 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

[wp-cli/wp-cli

WP-CLI framework

5.1k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)[codedungeon/php-cli-colors

Liven up you PHP Console Apps with standard colors

10210.1M26](/packages/codedungeon-php-cli-colors)

PHPackages © 2026

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