generator-php-cli-app

Yeoman generator to scaffold a PHP CLI app based on Symfony's Console Component.

Usage no npm install needed!

<script type="module">
  import generatorPhpCliApp from 'https://cdn.skypack.dev/generator-php-cli-app';
</script>

README

Yeoman PHP CLI app generator

A Yeoman generator to quickly scaffold a PHP CLI app based on Symfony's Console component. Generates one command with a fixed name. See the roadmap.md file for planned additions.

Installation

If you don't already have it installed, install Yeoman.

npm install -g yo

Install the generator

npm install -g generator-php-cli-app

Using the generator

Make a new directory, and cd into it:

mkdir foobar && cd $_

Run yo php-cli-app or yo and select the Php Cli App generator.

Contributing

Please submit an issue or a pull request.