2017 © Pedro Peláez
 

library plates-catchall-templater

Allows you to render templates without defined routes/actions as a kind of catch-all in Zend Expressive

image

amajot/plates-catchall-templater

Allows you to render templates without defined routes/actions as a kind of catch-all in Zend Expressive

  • Tuesday, August 29, 2017
  • by amajot
  • Repository
  • 1 Watchers
  • 0 Stars
  • 665 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 5 % Grown

The README.md

plates-catchall-templater

Build Status, (*1)

middleware that will render templates without predefined routes or actions, (*2)

Installation

Install this library using composer:, (*3)

$ composer require amajot/plates-catchall-templater

Add a factory in dependencies.global.php, (*4)

Amajot\CatchAllTemplateRenderer\CatchAllTemplateRenderer::class => Amajot\CatchAllTemplateRenderer\CatchAllTemplateRendererFactory::class,

Add the Middleware in the pipeline before the 404 handler, (*5)

use Amajot\CatchAllTemplateRenderer\CatchAllTemplateRenderer;
...
// At this point, if no Response is return by any middleware, the
// NotFoundHandler kicks in; alternately, you can provide other fallback
// middleware to execute.
$app->pipe(CatchAllTemplateRenderer::class);
$app->pipe(NotFoundHandler::class);

The Versions

29/08 2017

dev-master

9999999-dev

Allows you to render templates without defined routes/actions as a kind of catch-all in Zend Expressive

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andy Majot

templating package templates default template catch-all

29/08 2017

2.0.0

2.0.0.0

Allows you to render templates without defined routes/actions as a kind of catch-all in Zend Expressive

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andy Majot

templating package templates default template catch-all

19/07 2017

1.0.2

1.0.2.0

Allows you to render templates without defined routes/actions as a kind of catch-all in Zend Expressive

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andy Majot

templating package templates default template catch-all

18/07 2017

1.0.1

1.0.1.0

Allows you to render templates without defined routes/actions as a kind of catch-all in Zend Expressive

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andy Majot

templating package templates default template catch-all

18/07 2017

1.0.0

1.0.0.0

Allows you to render templates without defined routes/actions as a kind of catch-all in Zend Expressive

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andy Majot

templating package templates default template catch-all