Console (CLI)
Application Command Line Interface (CLI)
CLI stands for Command Line Interface. CLI applications are executed from the command line or a shell prompt. One of the benefits of CLI applications is that they do not have a view layer (only potentially echoing output on screen) and can be run more than one at a time. Some of the common usages are cron job tasks, manipulation scripts, import data scripts, command utilities and more.
Requirements
You must use the Zemit CLI. If it doesn't exist, create a new file named zemit with the following content
You must allow execution
Usage
We add the console
service in the di
so you can access it whenever you need it.
External Links
API References
Phalcon\Cli
Zemit\Cli
Sources
Last updated