rmrevin/yii2-pug Yii2 Pug (ex Jade) extension

viewrendererjadepug

Yii 2 Pug (ex Jade) extension

This extension provides a view renderer for Pug templates for Yii framework 2.0 applications.

For license information check the LICENSE-file.

License Latest Stable Version Latest Unstable Version Total Downloads

Code Status

Scrutinizer Code Quality Code Coverage Travis CI Build Status Dependency Status

Support

Installation

The preferred way to install this extension is through composer.

Either run

composer require "rmrevin/yii2-pug:~0.0"

or add

"rmrevin/yii2-pug": "~0.0",

to the require section of your composer.json file.

Configure

<?php

return [
    // ...
    'components' => [
        // ...
        'view' => [
            // ...
            'renderers' => [
                'pug' => 'rmrevin\\yii\\pug\\ViewRenderer',
            ],
        ]
    ]
];

That's all! Now you can use pug templates.

Changelog

2017-01-24 - 0.0.1

  • Initialize extension.

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



0.0.1 is the latest of one release



MIT license
Stats
8 github stars & 5 github forks
0 downloads in the last day
27 downloads in the last 30 days
5607 total downloads