Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

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.