drdim / yii2-pug
Yii2 Pug (ex Jade) extension
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 5
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.4.0
- pug-php/pug: ~2.5
- yiisoft/yii2: 2.0.*
This package is not auto-updated.
Last update: 2025-03-30 07:56:44 UTC
README
This extension provides a view renderer for Pug templates for Yii framework 2.0 applications.
For license information check the LICENSE-file.
Code Status
Support
Installation
The preferred way to install this extension is through composer.
Either run
composer require "drdim/yii2-pug:dev-master"
or add
"drdim/yii2-pug": "~0.0",
to the require
section of your composer.json
file.
Configure
<?php return [ // ... 'components' => [ // ... 'view' => [ // ... 'renderers' => [ 'pug' => 'drdim\\yii\\pug\\ViewRenderer', ], ] ] ];