umber-io/content-region

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (0.1) of this package.

0.1 2016-06-16 23:11 UTC

This package is not auto-updated.

Last update: 2020-01-19 14:45:21 UTC


README

Umber Content Region is a small library that aims to provided a consistent and simple API for implementing template functionality without being framework or template engine specific. The crux of the code base is decoupled and stand-alone, with this are implementations for frameworks and template engines.

Build Status Minimum PHP Version

Read the wiki for implementation guides and documentation.

In short

# some.twig
<div class="content">
    {% region 'main-body' %}
</div>

Accompanied with an instance of AbstractRenderer and AbstractLoader will allow you to have dynamic content in your templates without all the fuss in your controllers.