Doctrine 2 logo

Doctrine 2

An object-relational mapper (ORM) for PHP 5.3.2+ that provides transparent persistence for PHP objects
249
189
+ 1
31

What is Doctrine 2?

Doctrine 2 sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL.
Doctrine 2 is a tool in the Object Relational Mapper (ORM) category of a tech stack.

Who uses Doctrine 2?

Companies
56 companies reportedly use Doctrine 2 in their tech stacks, including Vend, development, and WUZZUF.

Developers
172 developers on StackShare have stated that they use Doctrine 2.

Doctrine 2 Integrations

Pros of Doctrine 2
14
Great abstraction, easy to use, good docs
10
Object-Oriented
7
Easy setup

Doctrine 2 Alternatives & Comparisons

What are some alternatives to Doctrine 2?
Propel
Propel provides a GPU-backed numpy-like infrastructure for scientific computing in JavaScript.
Hibernate
Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
Sequelize
Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more.
Entity Framework
It is an object-relational mapper that enables .NET developers to work with relational data using domain-specific objects. It eliminates the need for most of the data-access code that developers usually need to write.
SQLAlchemy
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
See all alternatives

Doctrine 2's Followers
189 developers follow Doctrine 2 to keep up with related blogs and decisions.