Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A simple Dwoo template engine implementation for CodeIgniter via Parser library.

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 config
Octocat-spinner-32 controllers
Octocat-spinner-32 libraries
Octocat-spinner-32 views
Octocat-spinner-32 .hgtags
Octocat-spinner-32 README.markdown


Version: 2.0

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.


  1. PHP 5.2+
  2. CodeIgniter 1.6.x - 2.0-dev
  3. Dwoo 1.2-dev (grab a copy from GitHub)

Requirements for Dwoo alone are:

  • 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 application/libraries/ folder.

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

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

  4. Create the folders:

    application/cache application/cache/dwoo application/cache/dwoo/compiled

  5. Set the new folders file permissions to be write-able:

    chmod -R 777 application/cache



$this->parser->parse('dwoo_test', array('message' => 'OH HAI!'));
Something went wrong with that request. Please try again.