PHPackages                             sertxudeveloper/laravel-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. sertxudeveloper/laravel-pagination

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

sertxudeveloper/laravel-pagination
==================================

Package for overriding Laravel's default pagination

v2.0.0(1mo ago)0873[1 PRs](https://github.com/sertxudeveloper/laravel-pagination/pulls)MITPHPPHP ^8.3 || ^8.4 || ^8.5CI failing

Since Apr 27Pushed 1w ago1 watchersCompare

[ Source](https://github.com/sertxudeveloper/laravel-pagination)[ Packagist](https://packagist.org/packages/sertxudeveloper/laravel-pagination)[ Docs](https://github.com/sertxudeveloper/laravel-pagination)[ GitHub Sponsors](https://github.com/sertxudev)[ RSS](/packages/sertxudeveloper-laravel-pagination/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (12)Versions (8)Used By (0)

[![Laravel Pagination by Sertxu Developer](/art/socialcard.png)](/art/socialcard.png)

Opinionated custom Laravel pagination
=====================================

[](#opinionated-custom-laravel-pagination)

[![](https://camo.githubusercontent.com/044b2b8059746396c8155e3cbc3367305029be610a7da08cfa571dbe29ffe968/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f736572747875646576656c6f7065722f6c61726176656c2d706167696e6174696f6e)](https://camo.githubusercontent.com/044b2b8059746396c8155e3cbc3367305029be610a7da08cfa571dbe29ffe968/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f736572747875646576656c6f7065722f6c61726176656c2d706167696e6174696f6e) [![](https://github.com/sertxudeveloper/laravel-pagination/actions/workflows/tests.yml/badge.svg)](https://github.com/sertxudeveloper/laravel-pagination/actions/workflows/tests.yml/badge.svg) [![](https://camo.githubusercontent.com/d016526dd81c5a87d55b96037aa0823a0d8adf938b10444cd5076a72476a4af8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f736572747875646576656c6f7065722f6c61726176656c2d706167696e6174696f6e)](https://camo.githubusercontent.com/d016526dd81c5a87d55b96037aa0823a0d8adf938b10444cd5076a72476a4af8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f736572747875646576656c6f7065722f6c61726176656c2d706167696e6174696f6e) [![](https://camo.githubusercontent.com/69676e5dffe45ddcb4fe6dd181cba187b89bef6f8734ef39adaf0431e627a286/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f736572747875646576656c6f7065722f6c61726176656c2d706167696e6174696f6e)](https://camo.githubusercontent.com/69676e5dffe45ddcb4fe6dd181cba187b89bef6f8734ef39adaf0431e627a286/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f736572747875646576656c6f7065722f6c61726176656c2d706167696e6174696f6e) [![](https://camo.githubusercontent.com/10c2a8f02982dd670a827a7083ecdfb022469eabb3b6ef528797130d1ad6043c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736572747875646576656c6f7065722f6c61726176656c2d706167696e6174696f6e)](https://camo.githubusercontent.com/10c2a8f02982dd670a827a7083ecdfb022469eabb3b6ef528797130d1ad6043c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736572747875646576656c6f7065722f6c61726176656c2d706167696e6174696f6e) [![](https://camo.githubusercontent.com/1a144af39b5c678d22d4daa54b534dfbce0422c2a0d232589ff712f4fb2a77ba/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f736572747875646576656c6f7065722f6c61726176656c2d706167696e6174696f6e)](https://camo.githubusercontent.com/1a144af39b5c678d22d4daa54b534dfbce0422c2a0d232589ff712f4fb2a77ba/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f736572747875646576656c6f7065722f6c61726176656c2d706167696e6174696f6e) [![](https://camo.githubusercontent.com/03b2d8809d7f72c07515ea8deb91542202f233ce069ca870316a7cce8e87950d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f736572747875646576656c6f7065722f6c61726176656c2d706167696e6174696f6e)](https://camo.githubusercontent.com/03b2d8809d7f72c07515ea8deb91542202f233ce069ca870316a7cce8e87950d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f736572747875646576656c6f7065722f6c61726176656c2d706167696e6174696f6e) [![Codecov Test coverage](https://camo.githubusercontent.com/ec7cf9f41724a2b820ef7332ea5cd06b99d31e6dac02d25ff97c444ec2bf2046/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f736572747875646576656c6f7065722f6c61726176656c2d706167696e6174696f6e)](https://app.codecov.io/gh/sertxudeveloper/laravel-pagination)

This package modifies the default Laravel pagination to make it smaller when a lot of pages are available.

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

[](#installation)

You can install the package via composer:

```
composer require sertxudeveloper/laravel-pagination
```

Usage
-----

[](#usage)

Once the package is installed, it will automatically replace the default Laravel pagination.

Testing
-------

[](#testing)

This package contains tests, you can run them using the following command:

```
composer test
```

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/sertxudeveloper/.github/blob/main/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Sergio Peris](https://github.com/sertxudev)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Copyright © 2023 Sertxu Developer

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance95

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 53.3% 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 ~562 days

Total

3

Last Release

39d ago

Major Versions

v1.1.0 → v2.0.02026-05-26

PHP version history (2 changes)v1.0.0PHP ^8.1

v2.0.0PHP ^8.3 || ^8.4 || ^8.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22801379?v=4)[Sergio Peris](/maintainers/sertxudev)[@sertxudev](https://github.com/sertxudev)

---

Top Contributors

[![sertxudev](https://avatars.githubusercontent.com/u/22801379?v=4)](https://github.com/sertxudev "sertxudev (8 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")

---

Tags

hacktoberfestlaravellaravel-packagepaginationsertxudeveloperlaravelpagination

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sertxudeveloper-laravel-pagination/health.svg)

```
[![Health](https://phpackages.com/badges/sertxudeveloper-laravel-pagination/health.svg)](https://phpackages.com/packages/sertxudeveloper-laravel-pagination)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)

PHPackages © 2026

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