Doctrine 2
Doctrine 2

160
2
23
Sequelize
Sequelize

225
8
37
Add tool

Doctrine 2 vs Sequelize: What are the differences?

Doctrine 2: An object-relational mapper (ORM) for PHP 5.3.2+ that provides transparent persistence for PHP objects. 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; Sequelize: Easy-to-use multi sql dialect ORM for Node.js & io.js. 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.

Doctrine 2 and Sequelize can be categorized as "Object Relational Mapper (ORM)" tools.

"Great abstraction, easy to use, good docs" is the top reason why over 9 developers like Doctrine 2, while over 17 developers mention "Good ORM for node.js" as the leading cause for choosing Sequelize.

Sequelize is an open source tool with 19.2K GitHub stars and 3.01K GitHub forks. Here's a link to Sequelize's open source repository on GitHub.

According to the StackShare community, Sequelize has a broader approval, being mentioned in 38 company stacks & 33 developers stacks; compared to Doctrine 2, which is listed in 35 company stacks and 12 developer stacks.

- No public GitHub repository available -

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.

What is 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.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose Doctrine 2?
Why do developers choose Sequelize?
What are the cons of using Doctrine 2?
What are the cons of using Sequelize?
    Be the first to leave a con
      Be the first to leave a con
      What companies use Doctrine 2?
      What companies use Sequelize?
      What are some alternatives to Doctrine 2 and Sequelize?
      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.
      SQLAlchemy
      SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
      EntityFramework
      Home of the Microsoft ASP.NET development community. Download Visual Studio, post to the forums, read ASP.NET blogs and learn about ASP.NET.
      MyBatis
      It is a first class persistence framework with support for custom SQL, stored procedures and advanced mappings. It eliminates almost all of the JDBC code and manual setting of parameters and retrieval of results. It can use simple XML or Annotations for configuration and map primitives, Map interfaces and Java POJOs (Plain Old Java Objects) to database records.
      See all alternatives
      What tools integrate with Doctrine 2?
      What tools integrate with Sequelize?
      Decisions about Doctrine 2 and Sequelize
      No stack decisions found
      Interest over time
      Reviews of Doctrine 2 and Sequelize
      No reviews found
      How developers use Doctrine 2 and Sequelize
      Avatar of Ralic Lo
      Ralic Lo uses SequelizeSequelize

      Used it for full stack web application development, especially to interact with MySQL/ MariaDB / PostgreSQL server.

      Avatar of Itbid
      Itbid uses Doctrine 2Doctrine 2

      ORM Layer para acceso a datos en la aplicación ITBID

      Avatar of toby lin
      toby lin uses SequelizeSequelize

      ORM for mysql with express. so far so good

      How much does Doctrine 2 cost?
      How much does Sequelize cost?
      Pricing unavailable
      Pricing unavailable
      News about Doctrine 2
      More news
      News about Sequelize
      More news