PHPackages                             opine/collection - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. opine/collection

ActiveLibrary[HTTP &amp; Networking](/categories/http)

opine/collection
================

RESTful API for MongoDB collections

2.0.8(11y ago)0264[3 issues](https://github.com/ryan-mahoney/Collection/issues)3MITPHPPHP &gt;=5.5.0

Since Dec 14Pushed 11y ago3 watchersCompare

[ Source](https://github.com/ryan-mahoney/Collection)[ Packagist](https://packagist.org/packages/opine/collection)[ RSS](/packages/opine-collection/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (15)Versions (7)Used By (3)

[![Stories in Ready](https://camo.githubusercontent.com/8b39c303e89411cd3b12a4d5e61a2fcdc78e5620d723453a3d1ccdcabf686ed2/68747470733a2f2f62616467652e776166666c652e696f2f6f70696e652d6f72672f636f6c6c656374696f6e2e706e673f6c6162656c3d7265616479267469746c653d5265616479)](https://waffle.io/opine-org/collection)Collections
==============================================================================================================================================================================================================================================================================================================================

[](#collections)

RESTful API for MongoDB collections

JSON REST API

/api/collection/{collection}/\[{method}/{limit}/{page}/{sort}/{fields}\]

JSON REST API for Bunldles

/{bundle}/api/collection/{collection}\[/{method}/{limit}/{page}/{sort}/{fields}\]

HTML INDEX

/{collection plural}/\[{method}/{limit}/{page}/{sort}\]

HTML ITEM

/{collection singular}/{slug} /{collection singular}/id/{id}

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 91% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

4158d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c44f040dad14ac398dcc450aac4a37b1bed4378e936ef637c0454fc946ee0662?d=identicon)[virtuecenter](/maintainers/virtuecenter)

---

Top Contributors

[![ryan-mahoney](https://avatars.githubusercontent.com/u/988609?v=4)](https://github.com/ryan-mahoney "ryan-mahoney (182 commits)")[![rmahoney-bsd](https://avatars.githubusercontent.com/u/6912313?v=4)](https://github.com/rmahoney-bsd "rmahoney-bsd (15 commits)")[![rmahoney-bl](https://avatars.githubusercontent.com/u/10089703?v=4)](https://github.com/rmahoney-bl "rmahoney-bl (2 commits)")[![waffle-iron](https://avatars.githubusercontent.com/u/6912981?v=4)](https://github.com/waffle-iron "waffle-iron (1 commits)")

---

Tags

jsonrestmongodb

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/opine-collection/health.svg)

```
[![Health](https://phpackages.com/badges/opine-collection/health.svg)](https://phpackages.com/packages/opine-collection)
```

###  Alternatives

[zircote/swagger-php

Generate interactive documentation for your RESTful API using PHP attributes (preferred) or PHPDoc annotations

5.3k132.9M468](/packages/zircote-swagger-php)[jacwright/restserver

php rest server for very light-weight REST APIs

51070.0k3](/packages/jacwright-restserver)[givebutter/laravel-keyable

Add API keys to your Laravel models

187144.5k2](/packages/givebutter-laravel-keyable)[graviton/php-rql-parser

doctrine-odm query building wrapper to graviton/rql-parser

1758.6k1](/packages/graviton-php-rql-parser)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
