purekid / mongodm

MongoDB ORM that includes support for references,embed and multilevel inheritance.
MIT License
200 stars 47 forks source link

PHP 7 support? #91

Closed lahdekorpi closed 7 years ago

lahdekorpi commented 8 years ago

The MongoDB extension installed via pecl for PHP 7 has changed a bit and it doesn't work with mongodm anymore. Are there any working branches for a port to the newer mongo lib?

Class '\Mongo' not found

That class and \MongoClient have been deprecated. New one is MongoDB\Driver\Manager etc.

vaseninm commented 7 years ago

Use https://github.com/alcaeus/mongo-php-adapter as compatibility layer

purekid commented 7 years ago

Supported.