doctrine/dbal
This system is a modernized database abstraction layer that provides a robust API for connecting to and interacting with various SQL databases. It features a comprehensive type system, advanced query building capabilities for complex SQL operations, and a middleware-based architecture for logging, portability, and caching. The library enforces strict typing and error handling across multiple database drivers, ensuring reliable schema management and data access.
66.2
Adequate · 2 August 2026
40k
lines of production code
PHP
primary language
5
bus factor · 649 authors in all
3
measurements over time
How it got here
2007–2020 · PHP 8+ modernization and type safety
The codebase underwent a comprehensive modernization to PHP 8.0+ standards, introducing strict typing, enums, and modern syntax across all database drivers and core components. This period also introduced new features like in-memory caching, advanced query building capabilities, and a new SQL parser, while significantly expanding functional and unit test coverage.
65 changes
2021–2023 · Middleware architecture and driver modernization
This period focused on introducing a comprehensive middleware layer for database drivers, enabling structured logging and session initialization. Concurrently, the codebase expanded its test coverage for schema comparators, SQL builders, and various database-specific drivers like PostgreSQL and SQLite3.
28 changes
2024–2025 · Test coverage expansion
This period focused on expanding test coverage across the codebase, particularly for new schema value objects, driver connections, and object set collections. The work ensured robust validation of identifiers, IPv6 URI support, and PHP 8.4+ compatibility through comprehensive functional and unit tests.
5 changes
Survey your own repository
doctrine/dbal was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.
About this page
- The description of this project is derived from its own commit history, not from its README.
- The score is its highest published measurement, taken on 2 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit f6c445d75e — the exact code this score is about.
- Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.