We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Scaffolding in multi-module application

Hi.

How can I create CRUD in my multi-module application?

My application has 2 modules:

/app/admin and /app/frontend

Each of these folders contains:

  • controllers
  • models
  • views

I tried to use dev. tools:

phalcon scaffold product --directory ./app/admin

but it generates error:

Error: The builder is unable to find the models directory

How can I specify models directory for a builder?

try using

phalcon scaffold --table-name product --directory ./app/admin


2.8k

Hi, Casey.

I tried your suggession with no success:

Phalcon DevTools (2.0.5)

Error: The builder is unable to find the models directory