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

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

simpl/console
=============

The Simpl way to get up and running with a clean console project.

010PHP

Since Oct 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/simpl-php/console)[ Packagist](https://packagist.org/packages/simpl/console)[ RSS](/packages/simpl-console/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Simpl/Console
=============

[](#simplconsole)

> Boilerplate for creating a new console project using `symfony/console`.

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

[](#installation)

```
composer create-project simpl/console [your-project-name] --stability=dev

```

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

[](#basic-usage)

### Command Help

[](#command-help)

```
php console help app:hello
```

### Run the hello command.

[](#run-the-hello-command)

```
php console app:hello
```

### Run the hello command with optional `name` parameter

[](#run-the-hello-command-with-optional-name-parameter)

```
php console app:hello --name="Josh"
```

Adding your own commands.
-------------------------

[](#adding-your-own-commands)

You can add new commands by adding a class that extends `Symfony\Component\Console\Command\Command` to the `app\Commands` directory.

Once you've added your command, register it in the `console` script.

```
// ... register commands
$application->add(new Commands\Hello());
```

> See `app\Commands\Hello` for an example.

See  for full documentation.

Testing
-------

[](#testing)

```
composer test
```

Coding Standards
----------------

[](#coding-standards)

This library uses [PHP\_CodeSniffer](http://www.squizlabs.com/php-codesniffer) to ensure coding standards are followed.

I have adopted the [PHP FIG PSR-2 Coding Standard](http://www.php-fig.org/psr/psr-2/) EXCEPT for the tabs vs spaces for indentation rule. PSR-2 says 4 spaces. I use tabs. No discussion.

To support indenting with tabs, I've defined a custom PSR-2 ruleset that extends the standard [PSR-2 ruleset used by PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer/blob/master/CodeSniffer/Standards/PSR2/ruleset.xml). You can find this ruleset in the root of this project at PSR2Tabs.xml

### Codesniffer

[](#codesniffer)

```
composer codensiffer
```

### Codefixer

[](#codefixer)

```
composer codefixer
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1cda8a02682a999e89bc2443c6c169b1dc9228cc4709d0b5fad642dc2a151141?d=identicon)[joshmoody](/maintainers/joshmoody)

### Embed Badge

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

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

###  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)
