7th December 2011 /

New CodeIgniter Library: Layout

After finally deciding to turn my method of nesting layouts into a CodeIgniter library, I am proud to release version 0.9 (beta) of ‘Layout’.

Layout allows you to define your hierarchical layout structures within PHP arrays, to display complex HTML layouts. You can also bind data (just like with CI views) and attach assets to each view.

Full documentation, including a download link can be found at:

http://daylerees.com/layout

and the source for the library can be found on Github, please feel free to contribute changes.

Let me know if the Library is of any use to you!


Enjoying my tutorial series? Why not buy my book Laravel: Code Happy? It contains all of the tutorials found here, including some extra fun stuff, and is available in PDF .MOBI and ePub formats!

Enjoying my tutorial series? Why not buy my book Laravel: Code Happy? It contains all of the tutorials found here, including some extra fun stuff, and is available in PDF .MOBI and ePub formats!

Only $4.99!



My tutorials are also available in Russian at Laravel.ru and in French at Laravel.fr. Thanks to Proger_XP and AoSiX for their translation efforts!