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

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

davahome/console
================

3.0(5y ago)02.1kGPL-3.0-or-laterPHP

Since May 24Pushed 5y ago1 watchersCompare

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

READMEChangelog (7)Dependencies (1)Versions (9)Used By (0)

console
=======

[](#console)

Provides functionality for symfony console commands

Installation
============

[](#installation)

```
php composer.phar require davahome/console
```

Usage
=====

[](#usage)

```
use DavaHome\Console\Command\AbstractCommand;

// Enable/Disable commands dynamically
public function configure()
{
  $this->setName('example')
    ->setEnabled(true);
}

// Ask questions
public function interact()
{
  $this->getQuestionHelper()->ask(new Question('What? '));
}

// Write to the error output
public function execute()
{
    $this->getErrorOutput($output)->writeln('This will be sent directly to STDERR (if supported)');
}

// Display progressBars
public function execute()
{
  $progressBar = $this->createProgressBar($output);
}

// Display tables
public function execute()
{
  $table = $this->createTable($output);
}
```

```
use DavaHome\Console\Helper\ProgressBarOptions;

// Use constants for defining the format
$progressBar->setFormat(ProgressBarOptions::FORMAT_DEBUG_NOMAX);
```

```
use DavaHome\Console\Helper\TableOptions;

// Use constants for defining the style
$progressBar->setFormat(TableOptions::STYLE_COMPACT);
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

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

Recently: every ~269 days

Total

8

Last Release

2058d ago

Major Versions

1.1.2 → 2.02018-01-01

2.0 → 3.02020-09-25

### Community

Maintainers

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

---

Top Contributors

[![thedava](https://avatars.githubusercontent.com/u/7238710?v=4)](https://github.com/thedava "thedava (12 commits)")

---

Tags

consolephpsymfony-console

### Embed Badge

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

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[crazywhalecc/static-php-cli

Build single static PHP binary, with PHP project together, with popular extensions included.

1.8k13.9k](/packages/crazywhalecc-static-php-cli)[matthiasnoback/symfony-console-form

Use Symfony forms for Console command input

368264.8k8](/packages/matthiasnoback-symfony-console-form)[phpcr/phpcr-shell

Shell for PHPCR

721.3M8](/packages/phpcr-phpcr-shell)[madewithlove/license-checker

CLI tool to verify allowed licenses for composer dependencies

54449.8k21](/packages/madewithlove-license-checker)[shel/neos-terminal

Neos CMS Ui terminal for running Eel expressions and other commands

1441.3k](/packages/shel-neos-terminal)

PHPackages © 2026

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