orm:generate-proxies
command directly.
This package provides a Doctrine metadata cache warmer for Morozko.
$ 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.
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.