PHPackages                             log1x/pagi - 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. log1x/pagi

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

log1x/pagi
==========

A better WordPress pagination.

v1.1.1(1y ago)61119.6k↓39.5%10[1 issues](https://github.com/Log1x/pagi/issues)[1 PRs](https://github.com/Log1x/pagi/pulls)MITPHPPHP ^8.0CI failing

Since Nov 11Pushed 4mo ago4 watchersCompare

[ Source](https://github.com/Log1x/pagi)[ Packagist](https://packagist.org/packages/log1x/pagi)[ GitHub Sponsors](https://github.com/Log1x)[ RSS](/packages/log1x-pagi/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (2)Versions (13)Used By (0)

Pagi
====

[](#pagi)

[![Latest Stable Version](https://camo.githubusercontent.com/6f62c9e402f213e7a48986f631365ac3abedc694dd9c4edad6b0468a43564e79/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f6731782f706167693f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/6f62c9e402f213e7a48986f631365ac3abedc694dd9c4edad6b0468a43564e79/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f6731782f706167693f7374796c653d666c61742d737175617265)[![Total Downloads](https://camo.githubusercontent.com/fc768e855d2623e2014f91000a6f84bfdaba05ce0dafba351ceb16c0950a8af1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6f6731782f706167693f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/fc768e855d2623e2014f91000a6f84bfdaba05ce0dafba351ceb16c0950a8af1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6f6731782f706167693f7374796c653d666c61742d737175617265)[![Build Status](https://camo.githubusercontent.com/edec63693a48d900c3e24c1a848fe768e6f39b1128a3036f62908b676e24dccc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c6f6731782f706167692f636f6d7061746962696c6974792e796d6c3f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/edec63693a48d900c3e24c1a848fe768e6f39b1128a3036f62908b676e24dccc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c6f6731782f706167692f636f6d7061746962696c6974792e796d6c3f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)

A better WordPress pagination utilizing [Laravel's Pagination](https://laravel.com/docs/master/pagination).

Requirements
------------

[](#requirements)

- [Sage](https://github.com/roots/sage) &gt;= 10.0
- [PHP](https://secure.php.net/manual/en/install.php) &gt;= 8.0
- [Composer](https://getcomposer.org/download/)

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

[](#installation)

Install via Composer:

```
$ composer require log1x/pagi
```

Usage
-----

[](#usage)

### Basic Usage

[](#basic-usage)

```
use Log1x\Pagi\PagiFacade as Pagi;

$pagination = Pagi::build();

return $pagination->links();
```

### Customization

[](#customization)

To customize the view, simply publish it:

```
$ wp acorn vendor:publish --provider='Log1x\Pagi\PagiServiceProvider'
```

To use the newly generated view:

```
return $pagination->links('components.pagination');
```

For additional configuration, check out the [Laravel Pagination](https://laravel.com/docs/master/pagination) documentation.

Bug Reports
-----------

[](#bug-reports)

If you discover a bug in Pagi, please [open an issue](https://github.com/log1x/pagi/issues).

Contributing
------------

[](#contributing)

Contributing whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated.

License
-------

[](#license)

Pagi is provided under the [MIT License](https://github.com/log1x/pagi/blob/master/LICENSE.md).

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance58

Moderate activity, may be stable

Popularity46

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 62.9% 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 ~176 days

Recently: every ~209 days

Total

12

Last Release

536d ago

PHP version history (4 changes)v1.0.0PHP &gt;=7.2

v1.0.2PHP &gt;=7.2.5

v1.0.3PHP ^7.3|^8.0

v1.0.9PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5745907?v=4)[Brandon](/maintainers/Log1x)[@Log1x](https://github.com/Log1x)

---

Top Contributors

[![Log1x](https://avatars.githubusercontent.com/u/5745907?v=4)](https://github.com/Log1x "Log1x (22 commits)")[![knowler](https://avatars.githubusercontent.com/u/6908001?v=4)](https://github.com/knowler "knowler (3 commits)")[![davidwebca](https://avatars.githubusercontent.com/u/412352?v=4)](https://github.com/davidwebca "davidwebca (2 commits)")[![tylerwiegand](https://avatars.githubusercontent.com/u/11890164?v=4)](https://github.com/tylerwiegand "tylerwiegand (2 commits)")[![mike-sheppard](https://avatars.githubusercontent.com/u/1690006?v=4)](https://github.com/mike-sheppard "mike-sheppard (1 commits)")[![aglipanci](https://avatars.githubusercontent.com/u/2675283?v=4)](https://github.com/aglipanci "aglipanci (1 commits)")[![wcoppens](https://avatars.githubusercontent.com/u/181460?v=4)](https://github.com/wcoppens "wcoppens (1 commits)")[![andreicnegrea](https://avatars.githubusercontent.com/u/20086477?v=4)](https://github.com/andreicnegrea "andreicnegrea (1 commits)")[![erip2](https://avatars.githubusercontent.com/u/22789656?v=4)](https://github.com/erip2 "erip2 (1 commits)")[![keroth-](https://avatars.githubusercontent.com/u/6151338?v=4)](https://github.com/keroth- "keroth- (1 commits)")

---

Tags

paginationwordpresslaravelwordpresspaginationrootssage

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/log1x-pagi/health.svg)

```
[![Health](https://phpackages.com/badges/log1x-pagi/health.svg)](https://phpackages.com/packages/log1x-pagi)
```

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9922.4M146](/packages/roots-acorn)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8723.3M27](/packages/yajra-laravel-oci8)[api-platform/laravel

API Platform support for Laravel

58190.1k21](/packages/api-platform-laravel)[log1x/crumb

A simple WordPress breadcrumb for Sage 10.

4382.2k](/packages/log1x-crumb)[ctsoft/laravel-pretty-pagination

Pretty pagination URLs for Laravel.

171.9k](/packages/ctsoft-laravel-pretty-pagination)[vitorf7/lv-loadmorepagination

Load More Pagination for Laravel. Allows to load an initial number of items and subsequent pages can load a different number of items

111.2k](/packages/vitorf7-lv-loadmorepagination)

PHPackages © 2026

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