grasphp/command

Sophisticated Console Command

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 1

Open Issues: 0

Type:project

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

This package is auto-updated.

Last update: 2024-06-13 20:03:04 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