dev-master
9999999-devFoundation 5 components for Laravel 5.1. For now only Pagination is supported
MIT
The Requires
- php >=5.5.0
- laravel/framework 5.1.*
by HK Chai
Wallogit.com
2017 © Pedro Peláez
Foundation 5 components for Laravel 5.1. For now only Pagination is supported
Foundation 5 modules for Laravel 5. This package requires Laravel and Foundation by Zurb as pre-requisites, (*1)
This package aims to provide support for Foundation by Zurb, for use in Laravel., (*2)
This has been tested on: - Laravel Framework 5.1.16 - Foundation 5.5.2, (*3)
The following module(s) are available:, (*4)
You need to have a working composer [https://getcomposer.org], (*5)
On the command line, issue composer require hkchai/laravel-foundation, (*6)
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., (*7)
However the default presenter doesn't quite work for Foundation., (*8)
This package provides you with a presenter class that generates correct HTML for Foundation 5., (*9)
Again assuming your data is $data, here is how you invoke this package:, (*10)
{!! $data->render(new LaravelFoundation\Pagination\SimpleFoundationFivePresenter($data, [options])) !!}
pagination-centered: boolean, default to false (i.e. not centered), (*11)
{!! $data->render(new LaravelFoundation\Pagination\SimpleFoundationFivePresenter($data, ["pagination-centered"=>'true'])) !!}
Foundation 5 components for Laravel 5.1. For now only Pagination is supported
MIT