Getting started with doctrine2

Installation or Setup

Doctrine 2 is easy to install via composer

composer require doctrine/orm

but it can also be downloaded from http://www.doctrine-project.org/projects/orm.html or from its GitHub project page.