This Laravel 4 package extends the built in Twitter Bootstrap styled pagination slider HTML markup to provide Zurb Foundation styled pagination slider HTML markup., (*1)
Installation
This release v1.0.0 supports the following versions of Laravel:
"laravel/framework": "4.0."
"laravel/framework": "4.1.", (*2)
Begin by installing this package through Composer. Edit your project's composer.json file to require binarix/foundation-pagination., (*3)
"require": {
"binarix/foundation-pagination": "1.0.*"
}
Next, update Composer from the Terminal:, (*4)
composer update
Once this operation completes, the next step is to add the service provider. Open app/config/app.php, and add a new item to the providers array., (*5)
'Binarix\FoundationPagination\FoundationPaginationServiceProvider',
The final step is to reference one of the the pagination styles. Open app/config/view.php, and modify the pagination item in the array., (*6)
For normal style use:, (*7)
'pagination' => 'foundationpagination::slider',
For centered style use:, (*8)
'pagination' => 'foundationpagination::slider-center',
That's it! You're all set to go., (*9)
Usage
Just use pagination as you would normally and the markups generated for the links will be styled for Zurb Foundation framework., (*10)
For more information on Pagination with Laravel 4, please check out the docs at, (*11)
http://laravel.com/docs/pagination