/Yiihppie

Yii HamlPHP Parser Integration Extension!

Primary LanguagePHP

Yiihppie!

Welcome to Yii HamlPHP Parser Integration Extension

It's simple...

Yiihppie is an Yii extension that let's you use Haml in your views by integrating the amazing HamlPHP parser.

How to install

  1. Download the extension

  2. Extract it to your-app/protected/extensions/yiihppie

  3. Add this to your config/main.php file

     'components'=>array(
     	...
     	'viewRenderer'=>array(
     		'class'=>'ext.yiihppie.Haml',
     		'fileExtension'=>'.haml'
     	),
     	...
     )
    
  4. You are done! Go write some haml views! :)
    (You'll have to save them with .haml extension)

Want fancy editor support? I use Aptana Studio 3