doctrine/dbal
Doctrine Database Abstraction Layer observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 97
- Release rhythm 94
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 5949
- days_rel: 43
- days_push: 20
- n_releases_24m: 30
Adoption not part of the score
9703 stars · 1377 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Doctrine DBAL is a PHP database abstraction layer providing a unified API over multiple database platforms such as MySQL, PostgreSQL, SQLite, SQL Server, Oracle, and MariaDB. It offers database schema introspection, schema management, and portable query construction across supported drivers.
Use cases
- connect to mysql and postgresql from php with one api
- manage database schema migrations across databases
- introspect existing database tables and columns
- write database-agnostic sql queries in php
- run raw sql queries with parameter binding
- support multiple database vendors in one application
When to choose
- you need a vendor-agnostic database layer in PHP
- you want programmatic schema introspection or diffing
- you are building on top of Doctrine ORM or need its lower-level foundation
When to avoid
- you want a full ORM with entity mapping and unit of work
- you use a language other than PHP
- you need only a thin native driver with no abstraction overhead
Facets
library · maturity stable
database database-driver orm databases backend web-development developer-tools php cross-platform dbal schema-management sql-abstraction doctrine mysql postgresql sqlite sql-server oracle mariadb
10 sources
- readme: https://github.com/doctrine/dbal · fetched 2026-08-28 · c79061d0cd11
- homepage: https://www.doctrine-project.org/projects/dbal.html · fetched 2026-08-29 · d7c0e6ae520e
- site_page: https://www.doctrine-project.org/projects/doctrine-dbal/en/4.4/index.html · fetched 2026-08-29 · 54156819b58f
- site_page: https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/index.html · fetched 2026-08-29 · 4204be1d2548
- site_page: https://www.doctrine-project.org/projects/doctrine-dbal/en/4.5/index.html · fetched 2026-08-29 · da152a54c0dd
- site_page: https://www.doctrine-project.org/projects/doctrine-dbal/en/4.3/index.html · fetched 2026-08-29 · 8fee630b41f1
- site_page: https://www.doctrine-project.org/projects/doctrine-dbal/en/4.2/index.html · fetched 2026-08-29 · 4ed22a75f4c8
- site_page: https://www.doctrine-project.org/projects/doctrine-dbal/en/4.1/index.html · fetched 2026-08-29 · e692ab22f812
- site_page: https://www.doctrine-project.org/projects/doctrine-dbal/en/4.0/index.html · fetched 2026-08-29 · 13056951c481
- site_page: https://www.doctrine-project.org/projects/doctrine-dbal/en/3.10/index.html · fetched 2026-08-29 · b1b4979b11cb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| doctrine/dbal | main | 97 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem