CodeIgniter 3 Navigation

I needed a way of rendering navigation menus from a database that supported different menus for different user roles in projects based on the CodeIgniter framework. I couldn't find anything that catered exactly to my needs so I decided to put something together and open source it.

Although I've not focused much on adding additional features to the library it currently supports menu rendering to specific user roles, submenus and custom navigation templates. In the repository you can find templates for Foundation's 'top bar' navigation menu as long as for Bootstrap navbars. There is also a MySQL format SQL file to create the three tables in your database in order to get started.

The library was designed for rendering menus which consist of <li> ... </li> tags within <ul> ... </ul> unordered lists.

Further examples, documentation and source code are available on GitHub.

Technologies