cfv1000/phalcon-cli-boilerplate

A phalcon boilerplate for CLI tools

v1.0.0 2018-10-15 17:34 UTC

This package is auto-updated.

Last update: 2024-04-27 05:43:59 UTC


README

Features

  • working examples of usage
  • easy and clear to setup
  • handler for missing command
  • custom DI example

example of usage

php bin/phalcon invalid:task --option --param=value - this will trigger the default task. No registered task with given name

php bin/phalcon task --param=value -option - example of registered task (no namespace)

php bin/phalcon ns:task --param=value -option - example of registered task with namespace

Requirements

  • php 7
  • phalcon extension for php

Note: On Ubuntu, this can be run like ./bin/phalcon command --args