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

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

elfet/console
=============

26967698PHP

Since Aug 10Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Web PHP Console
===============

[](#web-php-console)

Simply copy/symlink console.php into you www directory and open it in browser.

[![alt screen](https://camo.githubusercontent.com/e4e451f2bc52ec979559eb3ca3efab6be951c398c12d60e6a171f31ffd9cbcc7/687474703a2f2f686162726173746f726167652e6f72672f73746f72616765322f6330632f3336632f3433302f63306333366334333039333130366437643935643462303365386236646362352e706e67)](https://camo.githubusercontent.com/e4e451f2bc52ec979559eb3ca3efab6be951c398c12d60e6a171f31ffd9cbcc7/687474703a2f2f686162726173746f726167652e6f72672f73746f72616765322f6330632f3336632f3433302f63306333366334333039333130366437643935643462303365386236646362352e706e67)

Features
--------

[](#features)

- Just one file.
- Navigation throw cd commands.
- Commands aliases and patterns.
- List of allowed commands.
- List of denied commands.
- Digest HTTP Authentication.
- Themes.
- Suggest of most commonly used commands.
- History of commands.
- Mobile support.

Requrements
-----------

[](#requrements)

PHP must be able to use function "proc\_open". Also chown .git/ folder to apache user to use git.

Configuration
-------------

[](#configuration)

You can run console.php from another folder by using configuration file.

Copy console.config.php.example into console.config.php, place it (with your settings inside) near console.php

Use from another user
---------------------

[](#use-from-another-user)

If you want use console not from `www-data` use sudo. Set sudo to not asking passwords. Open visudo and add:

```
www-data    ALL=(user) NOPASSWD:ALL

```

If you want all commands run by sudo, change $commands like this:

```
$commands = array(
    '*' => "sudo -u user $1",
);
```

Usefull commands aliases
------------------------

[](#usefull-commands-aliases)

```
$commands = array(
    'symfony*' => "sudo -u user TERM=xterm app/console$1",
    'composer*' => "sudo -u user TERM=xterm /usr/local/bin/composer$1",
    'git*' => "sudo -u user /usr/local/git/bin/git$1",
    '*' => "sudo -u user $1",
);
```

License
-------

[](#license)

Licensed under the MIT license:

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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/f4d823f67218bb68e89dca47d04551e8a929c3bfca85513df67a2700544b5338?d=identicon)[medv](/maintainers/medv)

---

Top Contributors

[![denis-chmel](https://avatars.githubusercontent.com/u/331627?v=4)](https://github.com/denis-chmel "denis-chmel (3 commits)")[![Andrew8xx8](https://avatars.githubusercontent.com/u/672631?v=4)](https://github.com/Andrew8xx8 "Andrew8xx8 (2 commits)")[![chapay](https://avatars.githubusercontent.com/u/230958?v=4)](https://github.com/chapay "chapay (1 commits)")[![ismd](https://avatars.githubusercontent.com/u/765959?v=4)](https://github.com/ismd "ismd (1 commits)")

### Embed Badge

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

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

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

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[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)

PHPackages © 2026

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