当前位置: 首页 > 工具软件 > Doctrine > 使用案例 >

安装doctrine

咸高谊
2023-12-01

安装doctrine首先要安装pear,见我上一篇文章

1. 添加doctrine初始化通道

pear channel-discover pear.symfony.com//这个是doctrine所依赖的
pear channel-discover pear.doctrine-project.org

2. 安装doctrine核心包

pear install pear.doctrine-project.org/DoctrineORM

//此时会安装一下5个包
install ok: channel://pear.doctrine-project.org/DoctrineCommon-2.3.0
install ok: channel://pear.symfony.com/Console-2.4.4
install ok: channel://pear.symfony.com/Yaml-2.4.4
install ok: channel://pear.doctrine-project.org/DoctrineDBAL-2.3.4
install ok: channel://pear.doctrine-project.org/DoctrineORM-2.3.3



 类似资料: