PHPackages                             samyoul/php-pagination - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. samyoul/php-pagination

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

samyoul/php-pagination
======================

Simple and lightweight PHP pagination class that works with Twitter Bootstrap perfectly. Manages pagination variables through instantiable class, and markup rendering through view-like include file. http://web.onassar.com/blog/2012/06/09/github-project-php-pagination

017PHP

Since Sep 5Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Samyoul/PHP-Pagination)[ Packagist](https://packagist.org/packages/samyoul/php-pagination)[ RSS](/packages/samyoul-php-pagination/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Pagination
==============

[](#php-pagination)

PHP-Pagination contains an instantiable class, along with a *view* which renders the pagination markup.

The purpose of this library is to provide a simple API to render pagination markup, without having to worry about including common files and set too many settings. With this class, you simply pass in your parameters and make a call to the instance's \*&lt;parse&gt; method.

### Installation

[](#installation)

`composer require samyoul/php-pagination`

### Pagination Instantiation and Rendering

[](#pagination-instantiation-and-rendering)

```
