Need advice about which tool to choose?Ask the StackShare community!

Doctrine 2

250
185
+ 1
31
GORM

88
84
+ 1
0
Add tool

Doctrine 2 vs GORM: What are the differences?

Developers describe Doctrine 2 as "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. On the other hand, GORM is detailed as "The fantastic ORM library for Golang". The GORM is fantastic ORM library for Golang, aims to be developer friendly. It is an ORM library for dealing with relational databases. This gorm library is developed on the top of database/sql package.

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

GORM is an open source tool with 14.7K GitHub stars and 1.67K GitHub forks. Here's a link to GORM's open source repository on GitHub.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Doctrine 2
Pros of GORM
  • 14
    Great abstraction, easy to use, good docs
  • 10
    Object-Oriented
  • 7
    Easy setup
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    Sign up to add or upvote consMake informed product decisions

    - 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 GORM?

    It is a fantastic ORM library for Golang, aims to be developer friendly. It is an ORM library for dealing with relational databases. This library is developed on top of database/sql package.

    Need advice about which tool to choose?Ask the StackShare community!

    Jobs that mention Doctrine 2 and GORM as a desired skillset
    What companies use Doctrine 2?
    What companies use GORM?
    See which teams inside your own company are using Doctrine 2 or GORM.
    Sign up for Private StackShareLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Doctrine 2?
    What tools integrate with GORM?
    What are some alternatives to Doctrine 2 and GORM?
    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.
    SQLAlchemy
    SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
    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.
    See all alternatives