binarix/foundation-pagination

There is no license information available for the latest version (1.0.0) of this package.

Provides Zurb Foundation styled pagination slider HTML markup to Laravel4

1.0.0 2013-10-24 12:06 UTC

This package is not auto-updated.

Last update: 2024-04-22 12:00:17 UTC


README

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