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

v1.1.0(2y ago)0815[1 PRs](https://github.com/sertxudeveloper/laravel-pagination/pulls)MITPHPPHP ^8.1CI passing

Since Apr 27Pushed 5mo ago1 watchersCompare

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

READMEChangelog (2)Dependencies (5)Versions (4)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/run-tests.yml/badge.svg)](https://github.com/sertxudeveloper/laravel-pagination/actions/workflows/run-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

35

—

LowBetter than 80% of packages

Maintenance48

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.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 ~19 days

Total

2

Last Release

1092d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b211c262b3cf89b6f1e2f2eb42d571fa15d3e8415025899f902ad1645d0c4cef?d=identicon)[sertxudev](/maintainers/sertxudev)

---

Top Contributors

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

---

Tags

hacktoberfestlaravellaravel-packagepaginationsertxudeveloperlaravellaravel paginationsertxudeveloper

###  Code Quality

TestsPHPUnit

### 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

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[spatie/laravel-enum

Laravel Enum support

3655.4M31](/packages/spatie-laravel-enum)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[laracraft-tech/laravel-useful-additions

A collection of useful Laravel additions!

58109.4k](/packages/laracraft-tech-laravel-useful-additions)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)

PHPackages © 2026

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