Skip to content

flaviu-chelaru/phalcon-cli-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phalcon-cli-boilerplate

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