PHPackages                             spacetab-io/pagerfanta-adapt-php - 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. spacetab-io/pagerfanta-adapt-php

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

spacetab-io/pagerfanta-adapt-php
================================

Pagerfanta adapters.

2.0.1(6y ago)131MITPHPPHP &gt;=7.4CI failing

Since Apr 6Pushed 6y ago3 watchersCompare

[ Source](https://github.com/spacetab-io/pagerfanta-adapt-php)[ Packagist](https://packagist.org/packages/spacetab-io/pagerfanta-adapt-php)[ RSS](/packages/spacetab-io-pagerfanta-adapt-php/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

Pagerfanta Adapt PHP
====================

[](#pagerfanta-adapt-php)

[![CircleCI](https://camo.githubusercontent.com/f369ef45724ed72c96910681d463aa6270800dbec646a2e25d0629981114b734/68747470733a2f2f636972636c6563692e636f6d2f67682f73706163657461622d696f2f706167657266616e74612d61646170742d7068702f747265652f6d61737465722e7376673f7374796c653d737667)](https://circleci.com/gh/spacetab-io/pagerfanta-adapt-php/tree/master)[![codecov](https://camo.githubusercontent.com/4c4da9eb969050edf874fb8403b12653c1a39228ed51c43f495a9eb786248b5d/68747470733a2f2f636f6465636f762e696f2f67682f73706163657461622d696f2f706167657266616e74612d61646170742d7068702f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/spacetab-io/pagerfanta-adapt-php)

This a simple adapters for [Pagerfanta](https://github.com/whiteoctober/Pagerfanta) library.

Installation
------------

[](#installation)

```
composer require spacetab-io/pagerfanta-adapt
```

Usage
-----

[](#usage)

Basic:

```
use Spacetab\PagerfantaAdapt\PaginatePdoAdapter;
use Pagerfanta\Pagerfanta;

$adapter = new PaginatePdoAdapter(new PDO('dsn'), 'tableName');
$pagerfanta = new Pagerfanta($adapter);
```

Depends
-------

[](#depends)

- &gt;= PHP 7.4
- Composer for install package

Adapters list
-------------

[](#adapters-list)

- `Spacetab\PagerfantaAdapt\BasePdoAdapter.php`
- `Spacetab\PagerfantaAdapt\FluentPdoAdapter.php`
- `Spacetab\PagerfantaAdapt\PaginatePdoAdapter.php`

License
-------

[](#license)

The MIT License

Copyright © 2020 spacetab.io, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~4 days

Total

3

Last Release

2217d ago

Major Versions

1.1.1 → 2.0.02020-04-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/35d8eff4a3e66b58f3e2af56fe948035469de1e19ac29c532d65c681955bbd18?d=identicon)[Roquie](/maintainers/Roquie)

---

Top Contributors

[![roquie](https://avatars.githubusercontent.com/u/3214290?v=4)](https://github.com/roquie "roquie (6 commits)")

---

Tags

adapterspaginatephpphp74

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/spacetab-io-pagerfanta-adapt-php/health.svg)

```
[![Health](https://phpackages.com/badges/spacetab-io-pagerfanta-adapt-php/health.svg)](https://phpackages.com/packages/spacetab-io-pagerfanta-adapt-php)
```

###  Alternatives

[netgen/tagsbundle

Netgen Tags Bundle is an Ibexa DXP bundle for taxonomy management and easier classification of content, providing more functionality for tagging content than ibexa\_keyword field type included in Ibexa core.

49456.8k21](/packages/netgen-tagsbundle)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)[franmomu/silex-pagerfanta-provider

Silex ServiceProvider for Pagerfanta Library

1312.1k](/packages/franmomu-silex-pagerfanta-provider)[fsc/batch

Library with classes to help you do batch.

185.3k](/packages/fsc-batch)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
