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.