firehed/dbal-logger
Reimplementation of the SQLLogger
3.0.0
476K downloads/mo
#2589 most downloaded on Packagist
Firehed/doctrine-dbal-logging-middleware
What this package is like to depend on
Last release 5 months ago
13 Mar 2026
Ships fairly regularly
a new release about every 1.2 years
Most releases are documented
notes for 4 of 5 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
5 releases · first in 2022
1 release in the last 12 months
see the full history below
Release timeline
5 releases · Nov 2022 to Mar 2026Releases
latest 5-
3.0.013 Mar 2026Release notes
Open source →3.0.0 Release Summary
This release consolidates and modernizes the logger interface with several breaking changes:
- PHP 8.2+ required (PHP 8.1 dropped)
- Single interface:
QueryLoggerandDbalLoggermerged intoDbalLogger - Native types: All interface methods now have proper type declarations
- Error handling:
stopQuery()now receives the exception on failure, enabling failure tracking and telemetry
See UPGRADING.md for migration details.
What's Changed
- Update to PHPStan 2.x by @Firehed in #17
- Expand CI build matrix for PHP 8.5 and 8.6-dev by @Firehed in #18
- Remove composer require checker from dev dependencies by @Firehed in #20
- Update PHPUnit to 11/12/13. Drop PHP 8.1. by @Firehed in #19
- Update PHPCS by @Firehed in #21
- Add support for failure detection/logging to middleware by @Firehed in #22
- Add native types by @Firehed in #23
- Merge logger interfaces by @Firehed in #24
- Fix up types param docblock by @Firehed in #25
- Update README and upgrade guide by @Firehed in #26
- Trim unused imports by @Firehed in #27
Full Changelog: 2.1.0...3.0.0
-
2.1.030 Aug 2024Release notes
Open source →What's Changed
- Add chain logger by @snapauthapp in #14
- Update CI to latest versions by @Firehed in #15
Full Changelog: 2.0.0...2.1.0
-
2.0.011 Feb 2024Release notes
Open source →This replaces support of DBAL 3 with DBAL 4.
There's a small BC break here as well, due to DBAL 4's internals. Please see UPGRADING.md for additional information.
What's Changed
- Support DBAL 4; drop DBAL 3 by @Firehed in #11
- Remove dependency on doctrine/deprecations by @Firehed in #12
Full Changelog: 1.0.1...2.0.0
-
1.0.111 Feb 2024Release notes
Open source →What's Changed
- Replace magic numbers in tests with DBAL constants by @Firehed in #8
- Get tests off of deprecated methods by @Firehed in #9
- Add native return types where possible by @Firehed in #10
Full Changelog: 1.0.0...1.0.1
-
1.0.013 Nov 2022Nothing published for this version