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

Propel ORM

Hi! I want to use Propel ORM in my project, without ORM Phalcon. How I can it?



51.2k

Just don't use Phalcon ORM and use Propel, it's simple as that :) You use what you want / need from phalcon, in general.

edited Sep '16
  1. Install Propel with composer
  2. Create propel service.
$di->setShared('propel', function () {
    //.. code
    return new Propel()
});