net_bazzline/php_zend_expressive_template_adapter

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

free as in freedom template engine adapter for php and zend expressive template interface

0.1.1 2016-08-19 17:33 UTC

This package is auto-updated.

Last update: 2021-03-05 12:19:13 UTC


README

I still like the idea but there is currently no use case to develop it anymore.

Zend Expressive Adapter For The Bazzline Template Engine for PHP

Provides bazzline's template engine integration for Expressive.

Installation

Install this library using composer:

$ composer require net_bazzline/php_zend_expressive_template_adapter

We recommend using a dependency injection container, and typehint against container-interop. We can recommend the following implementations:

Configuration

'templates' => [
    'paths' => [
        // namespace / path pairs
        //
        // Numeric namespaces imply the default/main namespace. Paths may be
        // strings or arrays of string paths to associate with the namespace.
    ],
],

Factories

You can choose between two factories. It depends on the template you want to use, the FileBasedTemplate or the ComplexFileBasedTemplate.

Documentation

See the zend-expressive documentation tree, or browse online at http://zend-expressive.rtfd.org.

History

Final Words

Star it if you like it :-). Add issues if you need it. Pull patches if you enjoy it. Write a blog entry if use it. Make a donation if you love it :-].