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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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