PHPackages                             zendframework/zend-db - 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. zendframework/zend-db

Abandoned → [laminas/laminas-db](/?search=laminas%2Flaminas-db)ArchivedLibrary[Database &amp; ORM](/categories/database)

zendframework/zend-db
=====================

Database abstraction layer, SQL abstraction, result set abstraction, and RowDataGateway and TableDataGateway implementations

2.11.0(6y ago)10212.6M↑13.1%116[34 PRs](https://github.com/zendframework/zend-db/pulls)20BSD-3-ClausePHPPHP ^5.6 || ^7.0

Since Oct 17Pushed 6y ago23 watchersCompare

[ Source](https://github.com/zendframework/zend-db)[ Packagist](https://packagist.org/packages/zendframework/zend-db)[ RSS](/packages/zendframework-zend-db/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (81)Used By (20)Security (2)

zend-db
=======

[](#zend-db)

> ## Repository abandoned 2019-12-31
>
> [](#repository-abandoned-2019-12-31)
>
> This repository has moved to [laminas/laminas-db](https://github.com/laminas/laminas-db).

[![Build Status](https://camo.githubusercontent.com/bb177e4751abe298ddf95f6a79b9199d5d3399b0017da231fef31a38712e553c/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7a656e646672616d65776f726b2f7a656e642d64622e7376673f6272616e63683d6d6173746572)](https://secure.travis-ci.org/zendframework/zend-db)[![Coverage Status](https://camo.githubusercontent.com/6b0044919240864b46783d386908ed031867d7b19ee296d52f5ecf8ddc94c7ea/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7a656e646672616d65776f726b2f7a656e642d64622f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/zendframework/zend-db?branch=master)

`Zend\Db` is a component that abstract the access to a Database using an object oriented API to build the queries. `Zend\Db` consumes different storage adapters to access different database vendors such as MySQL, PostgreSQL, Oracle, IBM DB2, Microsoft Sql Server, PDO, etc.

- File issues at
- Documentation is at

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity62

Solid adoption and visibility

Community50

Growing community involvement

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 64.5% 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 ~34 days

Recently: every ~158 days

Total

77

Last Release

2330d ago

Major Versions

2.10.0 → 3.0.0.x-dev2019-03-13

PHP version history (6 changes)2.0.3PHP &gt;=5.3.3

2.3.0PHP &gt;=5.3.23

2.5.2PHP &gt;=5.5

2.7.0PHP ^5.5 || ^7.0

2.9.0PHP ^5.6 || ^7.0

3.0.0.x-devPHP ^7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/296074?v=4)[Zend Framework](/maintainers/zendframework)[@zendframework](https://github.com/zendframework)

---

Top Contributors

[![weierophinney](https://avatars.githubusercontent.com/u/25943?v=4)](https://github.com/weierophinney "weierophinney (4872 commits)")[![Maks3w](https://avatars.githubusercontent.com/u/1301698?v=4)](https://github.com/Maks3w "Maks3w (649 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (534 commits)")[![ezimuel](https://avatars.githubusercontent.com/u/475967?v=4)](https://github.com/ezimuel "ezimuel (321 commits)")[![EvanDotPro](https://avatars.githubusercontent.com/u/5607?v=4)](https://github.com/EvanDotPro "EvanDotPro (179 commits)")[![akrabat](https://avatars.githubusercontent.com/u/33135?v=4)](https://github.com/akrabat "akrabat (153 commits)")[![michalbundyra](https://avatars.githubusercontent.com/u/7423207?v=4)](https://github.com/michalbundyra "michalbundyra (131 commits)")[![mwillbanks](https://avatars.githubusercontent.com/u/38209?v=4)](https://github.com/mwillbanks "mwillbanks (106 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (97 commits)")[![ralphschindler](https://avatars.githubusercontent.com/u/76674?v=4)](https://github.com/ralphschindler "ralphschindler (66 commits)")[![marc-mabe](https://avatars.githubusercontent.com/u/302689?v=4)](https://github.com/marc-mabe "marc-mabe (45 commits)")[![turrsis](https://avatars.githubusercontent.com/u/2911165?v=4)](https://github.com/turrsis "turrsis (43 commits)")[![leftbrained](https://avatars.githubusercontent.com/u/1720071?v=4)](https://github.com/leftbrained "leftbrained (40 commits)")[![romulobusatto](https://avatars.githubusercontent.com/u/2951677?v=4)](https://github.com/romulobusatto "romulobusatto (39 commits)")[![kabel](https://avatars.githubusercontent.com/u/675956?v=4)](https://github.com/kabel "kabel (35 commits)")[![sgehrig](https://avatars.githubusercontent.com/u/43394?v=4)](https://github.com/sgehrig "sgehrig (33 commits)")[![DASPRiD](https://avatars.githubusercontent.com/u/233300?v=4)](https://github.com/DASPRiD "DASPRiD (29 commits)")[![Freeaqingme](https://avatars.githubusercontent.com/u/33034?v=4)](https://github.com/Freeaqingme "Freeaqingme (24 commits)")[![tptrixtop](https://avatars.githubusercontent.com/u/1807828?v=4)](https://github.com/tptrixtop "tptrixtop (18 commits)")[![mikaelkael](https://avatars.githubusercontent.com/u/212540?v=4)](https://github.com/mikaelkael "mikaelkael (16 commits)")

---

Tags

dbZendFrameworkzf

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zendframework-zend-db/health.svg)

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

###  Alternatives

[robmorgan/phinx

Phinx makes it ridiculously easy to manage the database migrations for your PHP app.

4.5k46.2M405](/packages/robmorgan-phinx)[laminas/laminas-db

Database abstraction layer, SQL abstraction, result set abstraction, and RowDataGateway and TableDataGateway implementations

13922.5M206](/packages/laminas-laminas-db)[masom/lhm

Large Hadron Migrator for phinx

309.3k](/packages/masom-lhm)

PHPackages © 2026

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