aziraphale/symfony-single-command-application

Extension of Symfony's Console Application that simplifies creation of simple, single-command PHP CLI scripts

Installs: 48

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/aziraphale/symfony-single-command-application

1.0.2 2016-07-14 14:37 UTC

This package is not auto-updated.

Last update: 2025-10-22 04:23:15 UTC


README

This is an extension of Symfony's Console application that simplifies the creation of simple, single-command PHP CLI scripts, saving a great deal of time and repeated code.

Installation

Just use Composer:

composer require aziraphale/symfony-single-command-application

And then it should autoload as everything else does, so the example class in /examples/TemplateCommand.php should work straight away.

Usage

See /examples/TemplateCommand.php to see how to use this class. It's probably easiest to simply copy TemplateCommand.php for every new single-command Symfony Console application that you create.