PHPackages                             lum/lum-db-pdo - 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. lum/lum-db-pdo

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

lum/lum-db-pdo
==============

Libraries for working with PDO/SQL

v1.0.1(9mo ago)041MITPHP

Since Jan 10Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/supernovus/lum.db-pdo.php)[ Packagist](https://packagist.org/packages/lum/lum-db-pdo)[ RSS](/packages/lum-lum-db-pdo/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (1)

lum.db-pdo.php
==============

[](#lumdb-pdophp)

Summary
-------

[](#summary)

Extension to [lum-db](https://github.com/supernovus/lum.db.php) for working with PDO/SQL databases.

Namespace
---------

[](#namespace)

`Lum\DB\PDO`

Classes and traits
------------------

[](#classes-and-traits)

ClassDescription`InsertArray`A simplistic INSERT statement builder.`Item`A class representing an Item in an ORM model.`Model`An abstract class representing an ORM model.`Query`An SQL Query builder class.`Reference`A small class representing a DB reference.`ResultArray`A result class that acts like an array.`ResultBag`A quirky extension of ResultArray.`ResultSet`A lazy loading result class. A good default.`Simple`A simple PDO wrapper library.`WhereArray`A simplistic WHERE statement builder.`Schemata\Tables`A class representing a full set of table schemas.`Schemata\*`A bunch of internal classes.`Simple\Alter`A trait with ALTER TABLE methods.`Simple\NativeDB`A trait for running engine-specific SQL files.The `Lum\DB\PDO\Schemata\*` classes currently use their own custom JSON-based format for the schema definition files. They are limited to working with `Lum\DB\PDO\Simple` classes with the `Lum\DB\PDO\Simple\NativeDB` trait. They will likely be replaced by something better in the future.

Official URLs
-------------

[](#official-urls)

This library can be found in two places:

- [Github](https://github.com/supernovus/lum.db-pdo.php)
- [Packageist](https://packagist.org/packages/lum/lum-db-pdo)

Authors
-------

[](#authors)

- Timothy Totten

License
-------

[](#license)

[MIT](https://spdx.org/licenses/MIT.html)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance56

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

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

Total

2

Last Release

293d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ff04349507190155013e4a94a8b14860a7ac57afce4ba97961c7c79bd023dd7?d=identicon)[supernovus](/maintainers/supernovus)

### Embed Badge

![Health badge](/badges/lum-lum-db-pdo/health.svg)

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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