hounddog/hd-route-layouts

Simple ZF2 module for making route based layouts.

Installs: 1 970

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 2

Forks: 3

Open Issues: 0

pkg:composer/hounddog/hd-route-layouts

v1.0 2013-12-09 14:48 UTC

This package is not auto-updated.

Last update: 2025-09-27 18:10:22 UTC


README

Introduction

HdRouteLayouts is a very simple module that allows you to attach layout configuration to a route.

Installation

Main Setup

Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.

php composer.phar require hounddog/hd-route-layouts
# (When asked for a version, type `0.*`)

Then add HdRouteLayouts to your config/application.config.php

Usage

Using HdRouteLayouts is very, very simple. In any module config or autoloaded config file simply specify the following:

array(
    'route_layouts' => array(
        'my/route' => 'layout/some-layout',
    ),
);