oops / morozko-doctrine-bridge
Doctrine bridge for cache warmup library for Nette Framework.
Installs: 4 991
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >= 7.1.0
- doctrine/orm: ^2.4
- nette/di: ^2.4.10
- oops/morozko: ^1.0.0@alpha
Requires (Dev)
- kdyby/doctrine: dev-master
- mockery/mockery: ^1.0.0
- nette/bootstrap: ^2.4.0
- nette/tester: ^2.0.0
This package is auto-updated.
Last update: 2022-02-01 13:11:38 UTC
README
⚠️ THIS PACKAGE IS NO LONGER MAINTAINED. Instead, you can use any Symfony/Console integration such as contributte/console and use the orm:generate-proxies
command directly.
This package provides a Doctrine metadata cache warmer for Morozko.
Installation and requirements
$ composer require oops/morozko-doctrine-bridge
Oops/MorozkoDoctrineBridge requires PHP >= 7.1.
This bridge requires that Morozko is set up correctly; please refer to its README for instructions.
Usage
Register the extension in your config file, along with Morozko and a Symfony/Console integration:
extensions: morozko: Oops\Morozko\DI\MorozkoExtension morozko.doctrine: Oops\MorozkoDoctrineBridge\DI\MorozkoDoctrineBridgeExtension console: Kdyby\Console\DI\ConsoleExtension
When you run the oops:morozko:warmup
command, Doctrine cache warmer will warm up Doctrine metadata cache and generate entity proxies.