Rango is a high-performance PHP library that reimplements the MongoDB PHP API on top of PostgreSQL using the power of JSONB.
It provides a drop-in compatible API, so you can use familiar MongoDB-style operations while storing your data in a reliable PostgreSQL database. This is ideal for applications that want PostgreSQL's ACID compliance and ecosystem without giving up the flexible document-based development experience of MongoDB.
Client, Database, and CollectioninsertOne, find, updateMany, and deleteOne$gt, $in, $or, and $elemMatch$set, $inc, $push, and $rename$match, $group, $unwind, and $lookupcomposer require patchlevel/rangoRango needs the PDO extension and a PostgreSQL connection. The MongoDB extension is only required for the test suite, not at runtime.
New to Rango? Start with the getting started tutorial, which builds a small application step by step.