PHPackages                             kdyby/doctrine-collections-lazy - 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. kdyby/doctrine-collections-lazy

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

kdyby/doctrine-collections-lazy
===============================

Lazy collection for doctrine/collections

v1.0.0(9y ago)23.1k11BSD-3-ClausePHPPHP ^5.6 || ^7.0

Since Mar 29Pushed 8y ago3 watchersCompare

[ Source](https://github.com/Kdyby/DoctrineCollectionsLazy)[ Packagist](https://packagist.org/packages/kdyby/doctrine-collections-lazy)[ Docs](http://kdyby.org)[ RSS](/packages/kdyby-doctrine-collections-lazy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (1)

Kdyby/DoctrineCollectionsLazy
=============================

[](#kdybydoctrinecollectionslazy)

This package provides an implementation of lazy collection for Doctrine/Collections.

[![Build Status](https://camo.githubusercontent.com/6c343f3746ca5a1f134cac0c59777aa94eb01c03b42f10b3f67e67b034939549/68747470733a2f2f7472617669732d63692e6f72672f4b647962792f446f637472696e65436f6c6c656374696f6e734c617a792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Kdyby/DoctrineCollectionsLazy)[![Downloads this Month](https://camo.githubusercontent.com/fef35374cc5e645c267bd1e602e9bc2801c2bbfbf3674b296ecc63e9af127e05/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6b647962792f646f637472696e652d636f6c6c656374696f6e732d6c617a792e737667)](https://packagist.org/packages/kdyby/doctrine-collections-lazy)[![Latest stable](https://camo.githubusercontent.com/914f154f596cafca4acabff6e59435aa54f70a1e89f0c12368d21ac11fdf229b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b647962792f646f637472696e652d636f6c6c656374696f6e732d6c617a792e737667)](https://packagist.org/packages/kdyby/doctrine-collections-lazy)[![Coverage Status](https://camo.githubusercontent.com/870980aacef776fe6f8d4036c2fcd8a805b4edea115e252876f212c3b6e9ac2f/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f4b647962792f446f637472696e65436f6c6c656374696f6e734c617a792f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/Kdyby/DoctrineCollectionsLazy?branch=master)

Installation
------------

[](#installation)

The best way to install Kdyby/DoctrineCollectionsLazy is using [Composer](http://getcomposer.org/):

```
$ composer require kdyby/doctrine-collections-lazy
```

Usage
-----

[](#usage)

```
$collection =  new LazyCollection(function () {
	return [1 => 2, 3 => 4];
});
```

---

Homepage  and repository .

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity59

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 ~415 days

Total

2

Last Release

3288d ago

Major Versions

v0.1 → v1.0.02017-05-18

PHP version history (2 changes)v0.1PHP &gt;=5.4

v1.0.0PHP ^5.6 || ^7.0

### Community

Maintainers

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

---

Top Contributors

[![fprochazka](https://avatars.githubusercontent.com/u/158625?v=4)](https://github.com/fprochazka "fprochazka (28 commits)")

---

Tags

ormdoctrinecollectionlazykdyby

### Embed Badge

![Health badge](/badges/kdyby-doctrine-collections-lazy/health.svg)

```
[![Health](https://phpackages.com/badges/kdyby-doctrine-collections-lazy/health.svg)](https://phpackages.com/packages/kdyby-doctrine-collections-lazy)
```

###  Alternatives

[gedmo/doctrine-extensions

Doctrine behavioral extensions

4.1k118.8M366](/packages/gedmo-doctrine-extensions)[beberlei/doctrineextensions

A set of extensions to Doctrine 2 that add support for additional query functions available in MySQL, Oracle, PostgreSQL and SQLite.

2.1k75.1M146](/packages/beberlei-doctrineextensions)[scienta/doctrine-json-functions

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

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

Doctrine integration into Nette Framework

1091.0M86](/packages/kdyby-doctrine)[ergebnis/factory-bot

Provides a fixture factory for doctrine/orm entities.

81702.8k](/packages/ergebnis-factory-bot)[zenstruck/collection

Helpers for iterating/paginating/filtering collections (with Doctrine ORM/DBAL implementations and batch processing utilities).

16617.0k1](/packages/zenstruck-collection)

PHPackages © 2026

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