Skip to main content

Custom Command

You can extend Ayuco with your own commands.

  1. Create a command class (extend Ayuco's base if needed).
  2. Register it in the ayuco file (between // BEGIN - Custom commands and // END - Custom commands):
$ayuco->register(new MyCustomCommand());
  1. Run with php ayuco my:custom-command.

See the Ayuco repo for advanced extension guidelines.