长期运行 / Doctrine ORM
1.1.0
2021-12-18 08:40 UTC
Requires
- php: ^8.0
- doctrine/orm: ^2.7.3
- long-running/core: ^1.0
- psr/log: ^1.1 || ^2.0 || ^3.0
- symfony/yaml: ^5.4 || ^6.0
Requires (Dev)
- doctrine/doctrine-bundle: ^2.5
- phpunit/phpunit: ^9.5.10
- symfony/framework-bundle: ^5.4 || ^6.0
- symfony/phpunit-bridge: ^6.0
Suggests
- doctrine/doctrine-bundle: When using the Symfony bundle
Conflicts
- doctrine/doctrine-bundle: <2.3.1
README
这是从LongRunning单体仓库中分离出来的只读包。
如果您想进行修改,请创建一个pull request。
此包需要Doctrine ORM 2.7或更高版本。
安装
composer require long-running/doctrine-orm
Symfony
如果您正在使用Symfony,请确保安装DoctrineBundle。
composer require doctrine/doctrine-bundle
然后注册此bundle
<?php // config/bundles.php return [ // ... Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true], LongRunning\Core\Bundle\LongRunningBundle::class => ['all' => true], LongRunning\DoctrineORM\Bundle\LongRunningDoctrineORMBundle::class => ['all' => true], ];