swilliams/pagination

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

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/swilliams/pagination

dev-master 2015-12-30 00:37 UTC

This package is auto-updated.

Last update: 2025-09-29 01:31:40 UTC


README

This is a simple library to generate a numerical array of page numbers based on:

  • Total number of pages
  • Current page
  • Number of pages to show

It will generate the page numbers about the current page:

// Will return array(19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
Pagination::paginate(76, 23, 10);