Download the PHP package binarix/foundation-pagination without Composer
On this page you can find all versions of the php package binarix/foundation-pagination. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download binarix/foundation-pagination
More information about binarix/foundation-pagination
Files in binarix/foundation-pagination
Package foundation-pagination
Short Description Provides Zurb Foundation styled pagination slider HTML markup to Laravel4
License
Informations about the package foundation-pagination
This Laravel 4 package extends the built in Twitter Bootstrap styled pagination slider HTML markup to provide Zurb Foundation styled pagination slider HTML markup.
Installation
This release v1.0.0 supports the following versions of Laravel: "laravel/framework": "4.0." "laravel/framework": "4.1."
Begin by installing this package through Composer. Edit your project's composer.json
file to require binarix/foundation-pagination
.
"require": {
"binarix/foundation-pagination": "1.0.*"
}
Next, update Composer from the Terminal:
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.
'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.
For normal style use:
'pagination' => 'foundationpagination::slider',
For centered style use:
'pagination' => 'foundationpagination::slider-center',
That's it! You're all set to go.
Usage
Just use pagination as you would normally and the markups generated for the links will be styled for Zurb Foundation framework.
For more information on Pagination with Laravel 4, please check out the docs at
http://laravel.com/docs/pagination