oops/morozko-doctrine-bridge

This package is abandoned and no longer maintained. No replacement package was suggested.

Doctrine bridge for cache warmup library for Nette Framework.

1.0.0-alpha.1 2018-01-02 20:11 UTC

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.

Build Status Downloads this Month Latest stable

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.