We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

Phalcon devtools multiple projects

Currently im using the devtool migrations for my project and it works perfectly fine.

But how to use it with second/third project on the same webspace. If i run the dev tools it throws "ERROR: The environment variable PTOOLSPATH is outdated! Current value PATH".

Is there a way to "support" multiple projets?


Every PTOOLSPATH should point to your (one) installation of devtools. You have to run the tool in your project's folder, the CLI tool picks up the first folder (in the hierarcy tree) where there is a .phalcon folder.

edited Sep '18

my current structure

all own modules and repos app/core app/users app/project

each module would have their own migrations and .phalcon folder, how to setup something like this?