Registry / utility / pagerfanta-core

pagerfanta-core

JSON →
library4.8.0phppackagistunverified

Core Pagerfanta API provides pagination functionality for PHP applications.

composer require pagerfanta/core
INSTALL
IMPORT
SIG · PAGERFANTA-CORE
P
pagerfanta-core
utilityphpv4.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Pagerfanta
✓ use Pagerfanta\Pagerfanta;

Paginate an array of items with Pagerfanta

use Pagerfanta\Pagerfanta; use Pagerfanta\Adapter\ArrayAdapter; $adapter = new ArrayAdapter(range(1, 100)); $pagerfanta = new Pagerfanta($adapter); $pagerfanta->setMaxPerPage(10); $pagerfanta->setCurrentPage(1); $results = $pagerfanta->getCurrentPageResults();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.8.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
pagerfanta-core — pip install pagerfanta-core · libregistry