PHPackages                             nulltex/laravel-paginator - 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. nulltex/laravel-paginator

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

nulltex/laravel-paginator
=========================

Laravel most flexible paginator

1.0.0(5y ago)25MITPHPPHP ^7.4

Since Oct 20Pushed 5y agoCompare

[ Source](https://github.com/nulltex/laravel-paginator)[ Packagist](https://packagist.org/packages/nulltex/laravel-paginator)[ GitHub Sponsors](https://github.com/nulltex)[ RSS](/packages/nulltex-laravel-paginator/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (2)Used By (0)

Some small helper for customize paginator links.
================================================

[](#some-small-helper-for-customize-paginator-links)

Allows to pass route name to paginator for generate custom URLs.
----------------------------------------------------------------

[](#allows-to-pass-route-name-to-paginator-for-generate-custom-urls)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d11f1b0676b27c0367de20670a329ff3cfc78ffedd49ea34452db1af064cf242/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e756c6c7465782f6c61726176656c2d706167696e61746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nulltex/laravel-paginator)[![Check & fix styling](https://github.com/nulltex/laravel-paginator/workflows/Check%20&%20fix%20styling/badge.svg)](https://github.com/nulltex/laravel-paginator/workflows/Check%20&%20fix%20styling/badge.svg)[![Total Downloads](https://camo.githubusercontent.com/46727d9e682f2014f65a2026c9d6e4a2475cafc4788f33076749e6d185e5ed4a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e756c6c7465782f6c61726176656c2d706167696e61746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nulltex/laravel-paginator)

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

[](#installation)

You can install the package via composer:

```
composer require nulltex/laravel-paginator
```

Usage
-----

[](#usage)

You can use `setRoute()` method for set custom route name that will be used for generate pagination links.

Example:

```
$query = Model::query();
$paginator = $query->paginate()->setRoute(['route.name'])
```

By default paginator generates relative URL. If you want to use absolute ones just call `setRouteAbsoluteUrl()`

```
$paginator->setRouteAbsoluteUrl(true)
```

Note: `$pageName` (default values is `page`) will be automatically applied to the route params. If you want to change it just use `setPageName()`.

For send some additional params into Route (excepting `$pageName`) pass them as array in the second item:

```
$query = Model::query();
$paginator = $query->paginate()->setRoute(['route.name', ['param' => 'value']])
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [nulltex](https://github.com/nulltex)

License
-------

[](#license)

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

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

2027d ago

### Community

Maintainers

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

---

Top Contributors

[![nulltex-admin](https://avatars.githubusercontent.com/u/64666223?v=4)](https://github.com/nulltex-admin "nulltex-admin (1 commits)")

---

Tags

laravelpaginator

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/nulltex-laravel-paginator/health.svg)

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

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M626](/packages/spatie-laravel-data)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[lampager/lampager-laravel

Rapid pagination for Laravel

7641.4k](/packages/lampager-lampager-laravel)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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