PHPackages                             degordian/yii2-frontend-controller - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. degordian/yii2-frontend-controller

ActiveYii2-extension[Templating &amp; Views](/categories/templating)

degordian/yii2-frontend-controller
==================================

A special controller for your frontend department that allows for easy access to any view/layout combination without going through their respective controllers (avoiding the need to login or have a db).

v1.0.0-beta(10y ago)019MITPHP

Since Feb 26Pushed 10y ago7 watchersCompare

[ Source](https://github.com/degordian/yii2-frontend-controller)[ Packagist](https://packagist.org/packages/degordian/yii2-frontend-controller)[ RSS](/packages/degordian-yii2-frontend-controller/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Yii2 Frontend Controller
========================

[](#yii2-frontend-controller)

A special controller for your frontend department that allows for easy access to any view/layout combination without going through their respective controllers (avoiding the need to login or have a db).

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist degordian/yii2-frontend-controller "*"

```

or add

```
"degordian/yii2-frontend-controller": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

To access the module, you need to add this to your application configuration:

```
