senki/command

This package is abandoned and no longer maintained. The author suggests using the grasphp/command package instead.

Sophisticated Console Command

Installs: 18

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Type:project

v1.3.0 2020-07-16 03:04 UTC

This package is auto-updated.

Last update: 2021-03-13 12:55:17 UTC


README

Sophisticated Console Command

Usage

  1. create project: composer create-project grasphp/command <DIR>
  2. cd <DIR>
  3. Edit default command: src/Command/Run.php
  4. Execute: php command or ./command

Create New Command

  1. create new command class at src/Command/
  2. add class to the config/commands.php file