2017 © Pedro PelĂĄez
 

library pagination

Lightweight and easy to use pagination library.

image

masnathan/pagination

Lightweight and easy to use pagination library.

  • Wednesday, June 17, 2015
  • by MASNathan
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Pagination

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads Support via Gittip, (*1)

Lightweight and easy to use pagination library, (*2)

Install

Via Composer, (*3)

``` bash $ composer require masnathan/pagination, (*4)


## Usage ``` php use MASNathan\Pagination\Pagination; $pager = new Pagination($totalPages, $boundaries, $around, $currentPage); foreach ($pager->getPages() as $pageLabel) { echo sprintf('<a href="/list/page/%s">%s</a>', $pageLabel, $pageLabel); }

You can also check the MASNathan\Pagination\Html\Pagination for a html builder, it's possible to extend it as well, check the Bootstrap class., (*5)

Change log

Please see CHANGELOG for more information what has changed recently., (*6)

Testing

bash $ composer test, (*7)

Contributing

Please see CONTRIBUTING for details., (*8)

Security

If you discover any security related issues, please email andre.r.flip@gmail.com instead of using the issue tracker., (*9)

Credits

License

The MIT License (MIT). Please see License File for more information., (*10)

The Versions

17/06 2015

dev-master

9999999-dev https://github.com/masnathan/pagination

Lightweight and easy to use pagination library.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

html pagination

17/06 2015

v1.0.0

1.0.0.0 https://github.com/masnathan/pagination

Lightweight and easy to use pagination library.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

html pagination