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

ORM Tools

Hi, I'm new to phalcon and i would like to ask what kind of orm tools you are using.

My last project was developed with Propel which I really liked. (besides some ultraslow joins) The thing I liked most in propel is that I just needed to write an XML schema and propel would automatically generate the database table and the model for me.

It automatically generate a table map, a query class, a peer class and an empty class where i can write my code which extends the generated class.

When I change the schema propel updates my table and my model without doing anything to the stuff i wrote.

I would really like to have a tool which does that stuff for me, because the xml scheme is really small and fast to write.

What are you guys using? Are there any useful tools?

p.s. I'm using Netbeans



43.9k
edited May '14

Hi, have a look at phalcon's devtools : https://github.com/phalcon/phalcon-devtools tut here: https://vimeo.com/39035250 devtools generates your models directly from db scheme, it can also scaffold some basic CRUD system and offers you a migration utility ...