2017 © Pedro Peláez
 

library pagination

Extend Laravel 4 basic Bootstrap Pagination

image

kmd/pagination

Extend Laravel 4 basic Bootstrap Pagination

  • Thursday, January 9, 2014
  • by mikemand
  • Repository
  • 1 Watchers
  • 4 Stars
  • 334 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Laravel 4 Extended Pagination

An extension to the default Laravel 4 Pagination for better flexibility and configuration., (*1)

Mimics default Laravel 4 pagination out of the box. Change config or language options to customize., (*2)

Created and maintained by Micheal Mand. Copyright © 2013. Licensed under the MIT license., (*3)

Total Downloads, (*4)

Installation

Add kmd/pagination as a requirement to composer.json:, (*5)

{
    ...
    "require": {
        ...
        "kmd/pagination": "dev-master"
        ...
    },
}

Update composer:, (*6)

$ php composer.phar update

Add the provider to your app/config/app.php:, (*7)

'providers' => array(

    ...
    'Kmd\Pagination\PaginationServiceProvider',

),

(Optional) Publish package config:, (*8)

$ php artisan config:publish kmd/pagination

Usage and Configuration

Usage

This package sits on top of Laravel 4's Pagination, so use it the same way. Laravel 4's Pagination Docs., (*9)

Configuration

  • always_show: Set to true to always show the paginator, even if there are no pages. Default: false.
  • show_first_last: Set to true to show First/Last page links. Default: false.
  • align_simple: Set to true to align the simple paginator links to the sides. Default: false.
  • classes: Set the sliding paginator's classes. For example, to center the paginator: pagination pagination-centered. See: Twitter Bootstrap Pagination Docs. Default: pagination.
  • slider:
    • prev_link_text: Set the previous link text. Default: ‹.
    • next_link_text: Set the next link text. Default: ›.
    • first_link_text: Set the first link text. Default: « First.
    • last_link_text: Set the last link text. Default: Last ».
  • simple:
    • prev_link_text: Set the previous link text. Default: ← Previous.
    • next_link_text: Set the next link text. Default: Next →.

To change the pagination view, edit app/config/view.php and change the pagination value. Want to create your own? Model it after one of the views., (*10)

The Versions

09/01 2014

dev-master

9999999-dev

Extend Laravel 4 basic Bootstrap Pagination

  Sources   Download

MIT

The Requires

 

by Micheal Mand - KMDWebDesigns

laravel pagination

09/01 2014

1.0.2

1.0.2.0

Extend Laravel 4 basic Bootstrap Pagination

  Sources   Download

MIT

The Requires

 

by Micheal Mand - KMDWebDesigns

laravel pagination

07/12 2013

1.0.1

1.0.1.0

Extend Laravel 4 basic Bootstrap Pagination

  Sources   Download

MIT

The Requires

 

by Micheal Mand - KMDWebDesigns

laravel pagination

07/12 2013

1.0.0

1.0.0.0

Extend Laravel 4 basic Bootstrap Pagination

  Sources   Download

MIT

The Requires

 

by Micheal Mand - KMDWebDesigns

laravel pagination