这是Doctrine 2 ORM教程的代码。
最后更新:教程现在仅使用Composer。
您可以在以下位置找到该教程:
https://doctrine-orm.readthedocs.org/en/latest/tutorials /getting-started.html
安装
$ git clone https://github.com/doctrine/doctrine2-orm-tutorial.git # or: git clone git@github.com:doctrine/doctrine2-orm-tutorial.git $ cd doctrine2-orm-tutorial $ composer install