Laravel Pagination with Foundation

19thDecember 2013 | Tags:

Laravel 4's pagination functionality supports Twitter Bootstrap out-of-the-box. However, if you prefer to use Zurb's Foundation, here is the code you'll need. Just drop the presenter class somewhere where your autoloader will pick it up, pick one (or both) of the template files, and configure your app/config/view.php file to point to the appropriate template file.

First, the presenter class:

The simple template file:

The slider template file:

Comments

No comments yet.