Skip to content

rmrevin/yii2-pug

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

Yii 2 Pug (ex Jade) extension.

Resources

License

Stars

Watchers

Forks

Packages

No packages published