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

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

saxulum/saxulum-console
=======================

Saxulum Console Provider

3.1.1(10y ago)556.6k↓17.4%2[1 issues](https://github.com/saxulum-legacy/saxulum-console/issues)8MITPHPPHP &gt;=5.3.3,&lt;8.0

Since Jan 13Pushed 8y agoCompare

[ Source](https://github.com/saxulum-legacy/saxulum-console)[ Packagist](https://packagist.org/packages/saxulum/saxulum-console)[ RSS](/packages/saxulum-saxulum-console/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (5)Versions (17)Used By (8)

saxulum-console
===============

[](#saxulum-console)

**works with plain silex-php**

[![Build Status](https://camo.githubusercontent.com/b1b6ea476a511ec1e2e2db15400d0666d5ac3f86bdc82dfb9ef84155879015d3/68747470733a2f2f6170692e7472617669732d63692e6f72672f736178756c756d2f736178756c756d2d636f6e736f6c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/saxulum/saxulum-console)[![Total Downloads](https://camo.githubusercontent.com/0784a0cebb00e0644710e793e465d93ddab1a1bd987a4310a4f1e40e41dff293/68747470733a2f2f706f7365722e707567782e6f72672f736178756c756d2f736178756c756d2d636f6e736f6c652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/saxulum/saxulum-console)[![Latest Stable Version](https://camo.githubusercontent.com/2542121cc79b6ae05fa978bfd808fbca2295f1f2b7a4d1b0cdf356ddd895b721/68747470733a2f2f706f7365722e707567782e6f72672f736178756c756d2f736178756c756d2d636f6e736f6c652f762f737461626c652e706e67)](https://packagist.org/packages/saxulum/saxulum-console)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f578eb6febdb86d3e0e550ba9ba892f62cd5c6b3e08c350650fb1e2e487361eb/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736178756c756d2f736178756c756d2d636f6e736f6c652f6261646765732f7175616c6974792d73636f72652e706e673f733d34326433323463386533366662343236663163386131383233643965663633663631373432623138)](https://scrutinizer-ci.com/g/saxulum/saxulum-console/)

Features
--------

[](#features)

- Add symfony console

Requirements
------------

[](#requirements)

- PHP 5.3+
- Pimple 2.1+
- Saxulum ClassFinder 1.0+
- Symfony Console 2.3+
- Symfony Finder 2.3+

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

[](#installation)

Through [Composer](http://getcomposer.org) as [saxulum/saxulum-console](https://packagist.org/packages/saxulum/saxulum-console).

```
$container->register(new ConsoleProvider());

```

### With translation cache (faster)

[](#with-translation-cache-faster)

```
use Pimple\Container;
use Saxulum\Console\Silex\Provider\ConsoleProvider;

$container = new Container();
$container->register(new ConsoleProvider(), array(
    'console.cache' => '/path/to/cache'
));

```

- `debug == true`: the cache file will be build at each load
- `debug == false`: the cache file will be build if not exists, delete it if its out of sync

### Without translation cache (slower)

[](#without-translation-cache-slower)

```
use Pimple\Container;
use Saxulum\Console\Silex\Provider\ConsoleProvider;

$container = new Container();
$container->register(new ConsoleProvider());

```

Usage
-----

[](#usage)

### Register a command

[](#register-a-command)

```
$container['console.commands'] = $container->extend('console.commands', function ($commands) use ($container) {
    $command = new SampleCommand;
    $command->setContainer($container);
    $commands[] = $command;

    return $commands;
});

```

### Register a path

[](#register-a-path)

One of their parent classes has to be: Saxulum\\Console\\Command\\AbstractPimpleCommand

```
$container['console.command.paths'] = $container->extend('console.command.paths', function ($paths) {
    $paths[] = __DIR__ . '/../../Command';

    return $paths;
});

```

Run the console

```
$container['console']->run();

```

Copyright
---------

[](#copyright)

- Dominik Zogg

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity76

Established project with proven stability

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

Recently: every ~61 days

Total

16

Last Release

3821d ago

Major Versions

1.2.0 → 2.0.02014-05-01

2.1.3 → 3.0.02014-06-23

2.2.0 → 3.1.12015-12-01

PHP version history (2 changes)1.0.0PHP &gt;=5.3.3

3.1.1PHP &gt;=5.3.3,&lt;8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/55048de83ca5e5d8c67164a19c78edcaad413b0c1a4ae10d92edf8d77bedd90f?d=identicon)[dominikzogg](/maintainers/dominikzogg)

---

Top Contributors

[![dominikzogg](https://avatars.githubusercontent.com/u/1011217?v=4)](https://github.com/dominikzogg "dominikzogg (25 commits)")

---

Tags

consolesilexpimplesaxulum

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[psy/psysh

An interactive shell for modern PHP.

9.8k545.6M719](/packages/psy-psysh)[nunomaduro/phpinsights

Instant PHP quality checks from your console.

5.6k10.8M426](/packages/nunomaduro-phpinsights)[cilex/console-service-provider

Console Service Provider

273.1M3](/packages/cilex-console-service-provider)[drupal/console-core

Drupal Console Core

13514.7M12](/packages/drupal-console-core)[matthiasnoback/symfony-console-form

Use Symfony forms for Console command input

368264.8k8](/packages/matthiasnoback-symfony-console-form)[laminas/laminas-cli

Command-line interface for Laminas projects

563.7M54](/packages/laminas-laminas-cli)

PHPackages © 2026

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