These tools help you to generate skeleton code, maintain your database structure and helps to speedup development. Core components of your application can be generated with a simple command, allowing you to easily develop applications using Phalcon.
Phalcon Devtool can be controlled using the cmd line or the web interface.
Installation : Phalcon Devtools can be installed using composer. Make sure you have installed first.
Install Phalcon Devtools globally
composer global require phalcon/devtools
Or only inside your project
composer require phalcon/devtools
Test your installation by typing : phalcon
$ phalcon
Phalcon DevTools (4.0.0)
Available commands:
info (alias of: i)
commands (alias of: list, enumerate)
controller (alias of: create-controller)
module (alias of: create-module)
model (alias of: create-model)
all-models (alias of: create-all-models)
project (alias of: create-project)
scaffold (alias of: create-scaffold)
migration (alias of: create-migration)
webtools (alias of: create-webtools)
serve (alias of: server)
console (alias of: shell, psysh)