Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management. The Doctrine database abstraction & access layer (DBAL) offers a lightweight and thin runtime layer around a PDO-like API and a lot of additional, horizontal features like database schema introspection and manipulation through an OO API. The fact that the Doctrine DBAL abstracts the concrete PDO API away through the use of interfaces that closely resemble the existing PDO API makes it possible to implement custom drivers that may use existing native or self-made APIs. For example, the DBAL ships with a driver for Oracle databases that uses the oci8 extension under the hood. The Doctrine 2 database layer can be used independently of the object-relational mapper. In order to use the DBAL all you need is the class loader provided by Composer, to be able to autoload the classes.

Features

  • The DBAL consists of two layers, drivers and a wrapper
  • Each layer is mainly defined in terms of 3 components, Connection, Statement and Result
  • The enhancements include SQL logging, events and control over the transaction isolation level in a portable manner, among others
  • DBAL driver provides an implementation of the Doctrine\DBAL\Driver interface
  • Translate the DBAL connection parameters to the ones specific to the driver's connection class
  • The DBAL is separated into several different packages that separate responsibilities of the different RDBMS layers

Project Samples

Project Activity

See All Activity >

Categories

Database

License

MIT License

Follow Doctrine DBAL

Doctrine DBAL Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Doctrine DBAL!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Database Software

Registered

2021-07-14