Phalcon DevTools commands:
- Create project:
- phalcon create-controller --name project-name
- Create model:
- All models:
- Create and delete the old one:
- phalcon all-models --relations --force
- Create new:
- phalcon all-models --relations
- Individual model:
- Create and delete the old one:
- phalcon model --name table-name --relations --force
- Create new:
- phalcon model --name table-name --relations
- Create scaffold:
- With volt engine:
- phalcon scaffold model-name --template-engine=volt
- Default:
- phalcon scaffold model-name
No comments:
Post a Comment