Yii 1.1: yiiml

A ViewRenderer wrapper and extension of peml, a haml-esque markup.
1 follower


peml is an extendable parser that uses the general rules of haml to create a markup dependent on the whitespace indentation. This allows blocks to be automatically closed, and tags shortened into css-like declarations.

On top of this are added commands, that add features such as flow control and helper tags for common long-winded html.


YiiCL extends this core with some Yii specific commands for forms, widgets, and partials, and YiiML acts as a view renderer wrapper for peml with YiiCL.




  • Yii 1.1(?) or above


For detailed installation instructions, please see:


Add a view file with an extension .yiiml. This will now be rendered through the peml library.

Syntax reference is available at:

Change Log

February 23, 2010

  • Initial release.

Total 1 comment

#746 report it
SvenWin at 2010/03/06 09:36am
Pretty amazing

Chris you've done an invalueable job with bringing peml (haml) to the yii-framework..

My markup looks like a haiku now!

Leave a comment

Please to leave your comment.

Create extension
  • Yii Version: 1.1
  • License: New BSD License
  • Developed by: Chris Spencer
  • Category: Others
  • Votes: +1
  • Downloaded: 166 times
  • Created on: Feb 23, 2010
  • Last updated: Feb 23, 2010