安裝或設定

Doctrine 2 很容易通過作曲家安裝

composer require doctrine/orm

但它也可以從 http://www.doctrine-project.org/projects/orm.html 或其 GitHub 專案頁面下載 。