PHPackages                             lazypdo/lazypdo - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. lazypdo/lazypdo

ActiveLibrary[Testing &amp; Quality](/categories/testing)

lazypdo/lazypdo
===============

LazyPDO is a set of wrappers over PHP's standard PDO and PDOStatement classes. It enables lazy loading, serialization and decoration.

2.0.0(6y ago)1103.7k↓50%2[1 issues](https://github.com/lazypdo/lazypdo/issues)1MITPHPPHP &gt;=7.4CI failing

Since Jun 22Pushed 6y ago3 watchersCompare

[ Source](https://github.com/lazypdo/lazypdo)[ Packagist](https://packagist.org/packages/lazypdo/lazypdo)[ Docs](https://github.com/lazypdo/lazypdo)[ Fund](https://www.paypal.me/f3ath)[ RSS](/packages/lazypdo-lazypdo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (7)Used By (1)

LazyPDO
=======

[](#lazypdo)

[![Total Downloads](https://camo.githubusercontent.com/8d31880c2a7a0915a20f7d806758688351e92e022870c885ea92ee7064544933/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c617a7970646f2f6c617a7970646f2e737667)](https://packagist.org/packages/lazypdo/lazypdo)[![Latest Stable Version](https://camo.githubusercontent.com/5ab93f8df6e0f2e52a06d040f9eabaed7edf9b50dd26a409f9d12789e5644773/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c617a7970646f2f6c617a7970646f2e737667)](https://packagist.org/packages/lazypdo/lazypdo)[![Travis Build](https://camo.githubusercontent.com/bf4f75664c20092b17163450e594040f33c1fb09dce4cca761df75702fd4c370/68747470733a2f2f7472617669732d63692e6f72672f6c617a7970646f2f6c617a7970646f2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/lazypdo/lazypdo)[![SensioLabs Insight](https://camo.githubusercontent.com/bdff4aa03b42b19e40ac5a5b1aee0134763d81cd36f62788c777fe0f422c93e3/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f61386537343430382d623062332d343566652d613737332d6463396465326131666539652e737667)](https://insight.sensiolabs.com/projects/a8e74408-b0b3-45fe-a773-dc9de2a1fe9e)

LazyPDO is a set of wrappers over PHP's standard PDO and PDOStatement classes. It enables lazy loading, serialization and decoration.

Install
-------

[](#install)

Via [composer](https://getcomposer.org): `$ composer require "lazypdo/lazypdo"`

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 98% 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 ~346 days

Total

5

Last Release

2232d ago

Major Versions

1.0.2 → 2.0.02020-04-08

PHP version history (3 changes)1.0.0PHP &gt;=5.3.0

v1.x-devPHP &gt;=5.3.0 &lt;7.4

2.0.0PHP &gt;=7.4

### Community

Maintainers

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

---

Top Contributors

[![f3ath](https://avatars.githubusercontent.com/u/831399?v=4)](https://github.com/f3ath "f3ath (50 commits)")[![arhix](https://avatars.githubusercontent.com/u/5672013?v=4)](https://github.com/arhix "arhix (1 commits)")

---

Tags

lazy-loadinglazyloadpdopdo-wrapperpdostatementphpserializationtestserializemockpdoserializableunit testlazyloadlazy load

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

10.7k497.0M23.6k](/packages/mockery-mockery)[php-mock/php-mock

PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.

36918.1M98](/packages/php-mock-php-mock)[kahlan/kahlan

The PHP Test Framework for Freedom, Truth and Justice.

1.2k1.2M247](/packages/kahlan-kahlan)[brain/monkey

Mocking utility for PHP functions and WordPress plugin API

33812.5M350](/packages/brain-monkey)[php-mock/php-mock-phpunit

Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.

1718.2M399](/packages/php-mock-php-mock-phpunit)[polishsymfonycommunity/symfony-mocker-container

Provides base Symfony dependency injection container enabling service mocking.

1468.0M237](/packages/polishsymfonycommunity-symfony-mocker-container)

PHPackages © 2026

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