A template/layout library for CodeIgniter
Failed to load latest commit information.
application Fixed a silly bug with the new session clearing for messages. Oct 28, 2010
CHANGELOG.TXT Bugfixes, new themed_view() function, and blocks can now have data pa… Oct 28, 2010


Ocular is a Layout Library for the CodeIgniter PHP Framework. It favors conventions to make your app organized and simple to get using, but maintains plenty of flexibility.

Current Version: 2.12


  • Organized, conventions-based design that finds views based on controller/method names
  • Flexible ‘blocks’ with default views and easily changed at run-time
  • ‘Flash’ messages that work both on the current view and through a page redirect
  • Built for multiple themes, either automatically based on user-agent, or manually
  • Allows for automatic rendering of different page-content types based on view extension (Markdown, Textile, custom…)

For complete documentation, please visit the wiki.