doctrine /dbal

Doctrine Database Abstraction Layer

★ 9,701⑂ 1,379👁 105⑃ 4,830● 2,740▤ 150
下载:4.6.04.6.0 ↓4.6.02026-11-14
+1
日增长
9,701
stars
1,379
forks
105
watchers
4,830
prs
2,740
issues
150
releases

README

Doctrine DBAL

|                   [5.0-dev][5.0]                    |                   [4.7-dev][4.7]                    |                     [4.6][4.6]                      |                     [3.10][3.10]                      |
|:---------------------------------------------------:|:---------------------------------------------------:|:---------------------------------------------------:|:-----------------------------------------------------:|
|      [![GitHub Actions][GA 5.0 image]][GA 5.0]      |      [![GitHub Actions][GA 4.7 image]][GA 4.7]      |      [![GitHub Actions][GA 4.6 image]][GA 4.6]      |      [![GitHub Actions][GA 3.10 image]][GA 3.10]      |
| [![Code Coverage][Coverage 5.0 image]][CodeCov 5.0] | [![Code Coverage][Coverage 4.7 image]][CodeCov 4.7] | [![Code Coverage][Coverage 4.6 image]][CodeCov 4.6] | [![Code Coverage][Coverage 3.10 image]][CodeCov 3.10] |

Powerful DataBase Abstraction Layer with many features for database schema introspection and schema management.

 More resources:

 Website
 Documentation
 Issue Tracker

  [Coverage 5.0 image]: https://codecov.io/gh/doctrine/dbal/branch/5.0.x/graph/badge.svg
  [5.0]: https://github.com/doctrine/dbal/tree/5.0.x
  [CodeCov 5.0]: https://codecov.io/gh/doctrine/dbal/tree/5.0.x
  [GA 5.0]: https://github.com/doctrine/dbal/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A5.0.x
  [GA 5.0 image]: https://github.com/doctrine/dbal/actions/workflows/continuous-integration.yml/badge.svg?branch=5.0.x

  [Coverage 4.7 image]: https://codecov.io/gh/doctrine/dbal/branch/4.7.x/graph/badge.svg
  [4.7]: https://github.com/doctrine/dbal/tree/4.7.x
  [CodeCov 4.7]: https://codecov.io/gh/doctrine/dbal/tree/4.7.x
  [GA 4.7]: https://github.com/doctrine/dbal/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A4.7.x
  [GA 4.7 image]: https://github.com/doctrine/dbal/actions/workflows/continuous-integration.yml/badge.svg?branch=4.7.x

  [Coverage 4.6 image]: https://codecov.io/gh/doctrine/dbal/branch/4.6.x/graph/badge.svg
  [4.6]: https://github.com/doctrine/dbal/tree/4.6.x
  [CodeCov 4.6]: https://codecov.io/gh/doctrine/dbal/tree/4.6.x
  [GA 4.6]: https://github.com/doctrine/dbal/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A4.6.x
  [GA 4.6 image]: https://github.com/doctrine/dbal/actions/workflows/continuous-integration.yml/badge.svg?branch=4.6.x

  [Coverage 3.10 image]: https://codecov.io/gh/doctrine/dbal/branch/3.10.x/graph/badge.svg
  [3.10]: https://github.com/doctrine/dbal/tree/3.10.x
  [CodeCov 3.10]: https://codecov.io/gh/doctrine/dbal/tree/3.10.x
  [GA 3.10]: https://github.com/doctrine/dbal/actions?query=workflow%3A%22Continuous+Integration%22+branch%3A3.10.x
  [GA 3.10 image]: https://github.com/doctrine/dbal/actions/workflows/continuous-integration.yml/badge.svg?branch=3.10.x

Top issues

Latest release

4.6.0 4.6.0 2026-11-14
Release Notes for 4.6.0



 4.6.0

- Total issues resolved: 0
- Total pull requests resolved: 10
- Total contributors: 7

 New Features

 - 7564: Have schema introspection map to immutable date types thanks to @derrabus
 - 7345: Add QueryBuilder::addComment() to attach SQL comments to generated queries thanks to @jdecool
 - 7342: Add TypeRegistry to Configuration and use it in all internal type resolution thanks to @GromNaN

 Deprecations

 - 7591: Deprecate omitting unique constraint clustering thanks to @morozov
 - 7581: Document and clean up support for Database versions 

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON