安装或设置

Doctrine 2 很容易通过作曲家安装

composer require doctrine/orm

但它也可以从 http://www.doctrine-project.org/projects/orm.html 或其 GitHub 项目页面下载 。