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

MongoDb on Phalcon 4

Hi, Any news about the ODM in version 4 of Phalcon? Anyone can help me to choose a component can I use to handle a Mongo DB? ...because when I try to install the incubator in phalcon 4 I receive an error that tells me:

    - Installation request for phalcon/incubator ^4.0 -> satisfiable by phalcon/incubator[4.0.x-dev].
    - phalcon/incubator 4.0.x-dev requires ext-phalcon ~3.3 -> the requested PHP extension phalcon has the wrong version (4.0.3) installed.


346
Accepted
answer

The Object Document Mapper functionality has been temporarily removed for v4.0.

i use https://github.com/mongodb/mongo-php-library for phalcon 4.