Dwoo implementation for CodeIgniter

Dwoo is a PHP based templating engine aimed as a replacement for Smarty 2.x using similar and alternative syntax. CodeIgniter-Dwoo is a simple implementation for using Dwoo in your CodeIgniter view files.


ZIP or TAR from GitHub.


  • Dwoo 1.1+
  • CodeIgniter 1.7.x (not bothered testing it on earlier versions, any point?)

Requirements for Dwoo alone are:

  • php 5.2.0 or above (might work below, it's a rough estimate)
  • SPL and PCRE extensions (for php versions prior to 5.3.0)
  • mbstring extension for some string manipulation plugins (especially if you intend to use UTF-8)


  1. Download Dwoo and copy the main /dwoo/ folder into your system/application/libraries/ folder.

  2. Copy libraries/MY_Parser.php to your system/application/libraries/ folder.

  3. Copy config/parser.php to your system/application/config/ folder.

  4. Create the folders: system/application/cache system/application/cache/dwoo system/application/cache/dwoo/compiled

  5. Set the new folders file permissions to be writeable:

    chmod -R 777 system/application/cache



$this->parser->parse('dwoo_test', array('message' => 'OH HAI!'));

Download from GitHub.