This package is abandoned and no longer maintained. The author suggests using the contributte/console-extra package instead.

Latte bridge for cache warmup library for Nette Framework.

1.0.0-alpha.2 2018-01-04 18:03 UTC

This package is auto-updated.

Last update: 2019-02-20 19:58:23 UTC


⚠️THIS PACKAGE IS NO LONGER MAINTAINED. You can use the AdvancedCache module from contributte/console-extra instead.

Build Status Downloads this Month Latest stable

This package provides a Latte templates cache warmer for Morozko.

Installation and requirements

$ composer require oops/morozko-latte-bridge

Oops/MorozkoLatteBridge 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:

    morozko: Oops\Morozko\DI\MorozkoExtension
    morozko.latte: Oops\MorozkoLatteBridge\DI\MorozkoLatteBridgeExtension
    console: Kdyby\Console\DI\ConsoleExtension

    directory: %appDir% # <- this is the default

When you run the oops:morozko:warmup command, Latte cache warmer will search for any *.latte files within the configured directory, and pre-compile them.