PHP code example of rmrevin / yii2-pug

1. Go to this page and download the library: Download rmrevin/yii2-pug library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

rmrevin / yii2-pug example snippets




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