PHPackages                             rekalogika/collections-orm - 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. [Database &amp; ORM](/categories/database)
4. /
5. rekalogika/collections-orm

ActiveLibrary[Database &amp; ORM](/categories/database)

rekalogika/collections-orm
==========================

Lazy-loading collection class using Doctrine ORM QueryBuilder as the data source

v0.20.0(3mo ago)01.6kMITPHPPHP ^8.2

Since Jun 18Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/rekalogika/collections-orm)[ Packagist](https://packagist.org/packages/rekalogika/collections-orm)[ GitHub Sponsors](https://github.com/priyadi)[ RSS](/packages/rekalogika-collections-orm/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (8)Versions (42)Used By (0)

rekalogika/collections-orm
==========================

[](#rekalogikacollections-orm)

Lazy-loading collection class using Doctrine ORM `QueryBuilder` as the data source. Unlike doing the query in the traditional way, this class allows lazy loading. You can safely pass the object around, and it will only execute the query when you start getting items from it.

The class also implements the `PageableInterface` from the [`rekalogika/rekapager`](https://rekalogika.dev/rekapager) library. This allows you to iterate over the collection without loading all the items into memory. And also useful for creating paginated user interfaces and API outputs.

Documentation
-------------

[](#documentation)

[rekalogika.dev/collections](https://rekalogika.dev/collections)

License
-------

[](#license)

MIT

Contributing
------------

[](#contributing)

This library consists of multiple repositories split from a monorepo. Be sure to submit issues and pull requests to the [rekalogika/collections](https://github.com/rekalogika/collections) monorepo.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance78

Regular maintenance activity

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~14 days

Recently: every ~7 days

Total

41

Last Release

119d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/13d0eed333cf2f0d552e9a4d0ca1c6a8fc0be0506bbc5e7516f6985b17b86043?d=identicon)[priyadi](/maintainers/priyadi)

---

Top Contributors

[![priyadi](https://avatars.githubusercontent.com/u/1102197?v=4)](https://github.com/priyadi "priyadi (118 commits)")

---

Tags

ormdoctrinepaginationcollectionsbatchrepositorydomaincountbatch processingcursor-paginationrekapagerkeyset-paginationrecollectionminimalrecollectionprecountingextra-lazy

### Embed Badge

![Health badge](/badges/rekalogika-collections-orm/health.svg)

```
[![Health](https://phpackages.com/badges/rekalogika-collections-orm/health.svg)](https://phpackages.com/packages/rekalogika-collections-orm)
```

###  Alternatives

[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58723.9M36](/packages/scienta-doctrine-json-functions)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8425.3M87](/packages/laravel-doctrine-orm)[ocramius/doctrine-batch-utils

A set of utilities to operate with Doctrine ORM's batch processing functionality

3331.6M6](/packages/ocramius-doctrine-batch-utils)[ergebnis/factory-bot

Provides a fixture factory for doctrine/orm entities.

81702.8k](/packages/ergebnis-factory-bot)[tommyknocker/pdo-database-class

Framework-agnostic PHP database library with unified API for MySQL, MariaDB, PostgreSQL, SQLite, MSSQL, and Oracle. Query Builder, caching, sharding, window functions, CTEs, JSON, migrations, ActiveRecord, CLI tools, AI-powered analysis. Zero external dependencies.

845.7k](/packages/tommyknocker-pdo-database-class)[rikbruil/doctrine-specification

Doctrine Specification pattern for building queries dynamically and with re-usable classes for composition.

50251.6k2](/packages/rikbruil-doctrine-specification)

PHPackages © 2026

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