tacoberu/php-console

PHP Commands a lightweight framework for creating PHP CLI scripts.

v0.2.2 2019-12-17 23:07 UTC

This package is auto-updated.

Last update: 2024-11-13 05:16:11 UTC


README

Framework for a command line application with PHP. It's an extensible, flexible component.

Concurent for Symfony/Console.

  • Make command only with depends to interface.
  • Support DI Container. Create command with DIC.
  • Build-in support many output formats: colored, ansi, xml, json.
  • Parsing input. Making output format (list, dict, table).
  • Build-in default command: help, version.

Examples

Minimal application:

samples/1.greating/app