PHPackages                             lion/command - 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. lion/command

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

lion/command
============

library created with the function of executing commands from PHP.

v6.2.3(3w ago)14.5k↑216.7%1MITPHPPHP &gt;=8.5CI passing

Since Apr 25Pushed 3w ago1 watchersCompare

[ Source](https://github.com/lion-packages/command)[ Packagist](https://packagist.org/packages/lion/command)[ RSS](/packages/lion-command/feed)WikiDiscussions 6.x Synced today

READMEChangelog (10)Dependencies (21)Versions (61)Used By (1)

[ ![presentation-lion-packages](https://private-user-images.githubusercontent.com/56183278/521466636-5e769661-804b-4dcd-9bcc-bcc7b03f7182.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODE1NTQ5NzIsIm5iZiI6MTc4MTU1NDY3MiwicGF0aCI6Ii81NjE4MzI3OC81MjE0NjY2MzYtNWU3Njk2NjEtODA0Yi00ZGNkLTliY2MtYmNjN2IwM2Y3MTgyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjE1VDIwMTc1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA4MGNmMTY3MGNhMmE2MDM4Yjk5YWY3OWQzNGVmZTBmNGE4ZTI3ZDk3Mjg4MzU5Nzc0Njg4NjliNGNlYzFmNGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.g7mFqXhMnPUv8ZNkb_RfiK0hsv6cxePTCWWZI39lYlc)](https://dev.lion-packages.com/docs/library/content) [ ![Latest Stable Version](https://camo.githubusercontent.com/9b60e515261314773b71b87a281ae3be7c7ba281f7cf4c92eb07e2932675d3fd/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f636f6d6d616e642f76) ](https://packagist.org/packages/lion/command) [ ![Total Downloads](https://camo.githubusercontent.com/8b02b27a77d78b139ee6e830b9073f152e5eed5cbc97820a2d22cd3c935138b1/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f636f6d6d616e642f646f776e6c6f616473) ](https://packagist.org/packages/lion/command) [ ![License](https://camo.githubusercontent.com/d0b878e3f5da1c42c85b3086ccbc5bc16d8289bf388e81672a1dda94dbf28696/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f636f6d6d616e642f6c6963656e7365) ](https://github.com/lion-packages/command/blob/main/LICENSE) [ ![PHP Version Require](https://camo.githubusercontent.com/425b26447329d10631085eb2a1a609f26677d4572df54c09e65134dcb374cf09/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f636f6d6d616e642f726571756972652f706870) ](https://www.php.net/)

🚀 **Lion-Command** library created with the function of executing commands from PHP.

---

📖 Features
----------

[](#-features)

✔️ Add styles to console output.
✔️ Add commands to your application.

---

📦 Installation
--------------

[](#-installation)

Install the command using **Composer**:

```
composer require symfony/console lion/command
```

📝 License
---------

[](#-license)

The **command** is open-sourced software licensed under the [MIT License](https://github.com/lion-packages/command/blob/main/LICENSE).

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance94

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 80.5% 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 ~29 days

Total

52

Last Release

27d ago

Major Versions

v1.11 → v2.02022-07-10

2.x-dev → v3.0.02023-10-28

3.x-dev → 4.x-dev2024-12-08

v4.0.0 → v5.0.02024-12-08

5.x-dev → v6.0.02025-12-02

PHP version history (6 changes)v1.0PHP &gt;=8.0.9

v1.3PHP &gt;=8.1

v3.1.0PHP &gt;=8.2

4.x-devPHP &gt;=8.3

v5.0.0PHP &gt;=8.4

v6.1.0PHP &gt;=8.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/139179826?v=4)[Lion-Packages](/maintainers/lion-packages)[@lion-packages](https://github.com/lion-packages)

---

Top Contributors

[![Sleon4](https://avatars.githubusercontent.com/u/56183278?v=4)](https://github.com/Sleon4 "Sleon4 (161 commits)")[![GabrielPalac](https://avatars.githubusercontent.com/u/162063476?v=4)](https://github.com/GabrielPalac "GabrielPalac (13 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")[![jerezjustin](https://avatars.githubusercontent.com/u/132396080?v=4)](https://github.com/jerezjustin "jerezjustin (6 commits)")[![mcesmeralda](https://avatars.githubusercontent.com/u/96641807?v=4)](https://github.com/mcesmeralda "mcesmeralda (6 commits)")[![MMarioLP](https://avatars.githubusercontent.com/u/105904645?v=4)](https://github.com/MMarioLP "MMarioLP (2 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")[![JPCORREDOR05](https://avatars.githubusercontent.com/u/101783650?v=4)](https://github.com/JPCORREDOR05 "JPCORREDOR05 (1 commits)")[![LeinadAlberto](https://avatars.githubusercontent.com/u/127895160?v=4)](https://github.com/LeinadAlberto "LeinadAlberto (1 commits)")

---

Tags

bashcmdcommandcommand-linephpphp8powershellsymfonysymfony-commandsymfony-console

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/lion-command/health.svg)

```
[![Health](https://phpackages.com/badges/lion-command/health.svg)](https://phpackages.com/packages/lion-command)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)

PHPackages © 2026

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