| Package Data | |
|---|---|
| Maintainer Username: | hkchai |
| Maintainer Contact: | hk.chai@gmail.com (HK Chai) |
| Package Create Date: | 2015-09-13 |
| Package Last Update: | 2015-09-14 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-14 03:02:16 |
| Package Statistics | |
|---|---|
| Total Downloads: | 69 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
Foundation 5 modules for Laravel 5. This package requires Laravel and Foundation by Zurb as pre-requisites
This package aims to provide support for Foundation by Zurb, for use in Laravel.
This has been tested on:
The following module(s) are available:
You need to have a working composer [https://getcomposer.org]
On the command line, issue composer require hkchai/laravel-foundation
If you are using BootStrap 3, in the blade.php file, assume your data is called $data, you should have {!! $data->render() !!}, which will render the pagination facility targeting BootStrap 3.
However the default presenter doesn't quite work for Foundation.
This package provides you with a presenter class that generates correct HTML for Foundation 5.
Again assuming your data is $data, here is how you invoke this package:
{!! $data->render(new LaravelFoundation\Pagination\SimpleFoundationFivePresenter($data, [options])) !!}
pagination-centered: boolean, default to false (i.e. not centered)
{!! $data->render(new LaravelFoundation\Pagination\SimpleFoundationFivePresenter($data, ["pagination-centered"=>'true'])) !!}