patchlevel/rango
Composer 安装命令:
composer require patchlevel/rango
包简介
A high-performance reimplementation of the MongoDB PHP API on top of PostgreSQL JSONB
关键字:
README 文档
README
Rango
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, allowing you to use familiar MongoDB-style operations while storing your data in a reliable PostgreSQL database. This is ideal for applications that want to leverage PostgreSQL's ACID compliance and ecosystem without giving up the flexible document-based development experience of MongoDB.
Features
- Drop-in MongoDB API with
Client,Database, andCollection - CRUD operations like
insertOne,find,updateMany, anddeleteOne - Rich query operators such as
$gt,$in,$or, and$elemMatch - Update operators like
$set,$inc,$push, and$rename - Projection and sorting with dot-notation support
- Aggregation pipelines with
$match,$group,$unwind, and$lookup - Bulk writes wrapped in a single transaction
- Index management backed by native PostgreSQL indexes
Installation
composer require patchlevel/rango
Documentation
Integration
Contributing
We are open to contributions as long as they are in line with our BC-Policy.
Also note that the composer.lock is always generated with the newest supported PHP version as this is the version our tools run in the CI.
统计信息
- 总下载量: 1.83k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-22
