https://github.com/o2ps/morozkodoctrinebridge
Doctrine ORM bridge for Morozko
https://github.com/o2ps/morozkodoctrinebridge
cache doctrine-orm doctrine2 nette-framework warmup
Last synced: 5 months ago
JSON representation
Doctrine ORM bridge for Morozko
- Host: GitHub
- URL: https://github.com/o2ps/morozkodoctrinebridge
- Owner: o2ps
- License: bsd-3-clause
- Created: 2018-01-01T20:08:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-26T09:20:17.000Z (almost 8 years ago)
- Last Synced: 2025-02-15T03:14:14.374Z (over 1 year ago)
- Topics: cache, doctrine-orm, doctrine2, nette-framework, warmup
- Language: PHP
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Oops/MorozkoDoctrineBridge
:warning: **THIS PACKAGE IS NO LONGER MAINTAINED.** Instead, you can use any Symfony/Console integration such as [contributte/console](https://github.com/contributte/console) and use the `orm:generate-proxies` command directly.
[](https://travis-ci.org/o2ps/MorozkoDoctrineBridge)
[](https://packagist.org/packages/oops/morozko-doctrine-bridge)
[](https://packagist.org/packages/oops/morozko-doctrine-bridge)
This package provides a [Doctrine](https://github.com/doctrine/doctrine2) metadata cache warmer for [Morozko](https://github.com/o2ps/Morozko).
## Installation and requirements
```bash
$ 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:
```yaml
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.