# laminas-db

PHP database abstraction layer with an object-oriented API for building SQL queries, result sets and table and row gateways.


Source: https://findsoftware.frbit.cloud/laminas-db/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://docs.laminas.dev/laminas-db/
- repository: https://github.com/laminas/laminas-db
- docs: https://docs.laminas.dev/laminas-db/
- mastodon: https://phpc.social/@getlaminas
- forum: https://discourse.laminas.dev

### Identity

- status: active
- maintainer: Laminas Project
- maintainerType: unknown
- parent: unknown
- firstRelease: 2019
- hqCountry: unknown

### Kind

- category: library
- hosting: php
- language: php
- runtime: php
- runtimeMin: php 8.2
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: mysql, postgres, oracle, sqlserver, sqlite
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: composer

### License

- licenseModel: open-source
- license: BSD-3-Clause

### Releases

- currentMajor: 2
- latestReleaseDate: 2026-05-21

### Adoption

- githubStargazers: 145
- packagistDownloads: 25149142
- npmWeeklyDownloads: not applicable
- contributors: 237
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 1077
- dependentPackages: 213

### Sources

- urls: https://api.github.com/repos/laminas/laminas-db (read 2026-11-16)
- urls: https://docs.laminas.dev/laminas-db/ (read 2026-11-16)
- urls: https://docs.laminas.dev/laminas-db/ (read 2026-11-16)
- maintainer: https://raw.githubusercontent.com/laminas/laminas-db/2.22.0/LICENSE.md (read 2026-11-16)
- language: https://api.github.com/repos/laminas/laminas-db (read 2026-11-16)
- category: https://github.com/laminas/laminas-db/blob/2.22.0/README.md (read 2026-11-16)
- runtime: https://github.com/laminas/laminas-db/blob/2.22.0/composer.json (read 2026-11-16)
- runtimeMin: https://github.com/laminas/laminas-db/blob/2.22.0/composer.json (read 2026-11-16)
- installMethod: https://docs.laminas.dev/laminas-db/ (read 2026-11-16)
- databases: https://github.com/laminas/laminas-db/blob/2.22.0/README.md (read 2026-11-16)
- databases: https://docs.laminas.dev/laminas-db/adapter/ (read 2026-11-16)
- license: https://github.com/laminas/laminas-db/blob/2.22.0/composer.json (read 2026-11-16)
- licenseModel: https://github.com/laminas/laminas-db/blob/2.22.0/composer.json (read 2026-11-16)
- packagistDownloads: https://packagist.org/packages/laminas/laminas-db.json (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/laminas%2Flaminas-db (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/laminas%2Flaminas-db (read 2026-11-16)
- firstRelease: https://api.github.com/repos/laminas/laminas-db/commits/2.0.0 (read 2026-11-16)
- currentMajor: https://api.github.com/repos/laminas/laminas-db/releases (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/laminas/laminas-db/releases (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/laminas/laminas-db (read 2026-11-16)
- contributors: https://api.github.com/repos/laminas/laminas-db/contributors?per_page=1 (read 2026-11-16)

## Notes

laminas-db is a PHP database abstraction layer from the Laminas project. It gives an application an object-oriented API for building SQL statements, adapters for several database drivers, result sets, and table and row data gateways. It is installed with Composer and is one of the components of the Laminas project, which the docs site lists under components for enterprise applications.

## Worth knowing

The package is in security-only maintenance mode. Its README calls it feature-complete, so it receives critical security fixes and no new features. The README asks anyone who wants to take on the maintainer role to nominate themselves.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
