PHPackages                             eozden/paginator-route - 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. eozden/paginator-route

ActiveLibrary

eozden/paginator-route
======================

Middleware for router {page} parameter to work with paginator

v1.0.2(5y ago)017MITPHP

Since Nov 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/eozden/paginator-route)[ Packagist](https://packagist.org/packages/eozden/paginator-route)[ RSS](/packages/eozden-paginator-route/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (2)Versions (3)Used By (0)

Paginator Routes for Laravel
============================

[](#paginator-routes-for-laravel)

if your routes contains {page} route parameter, this middleware add this {page} parameter to your request instance.

Contents
--------

[](#contents)

- [Installation](#installation)
- [Usage](#usage)
    - [Examples](#examples)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

Via Composer

```
$ composer require eozden/paginator-route
```

Or you can manually update your require block and run `composer update` if you choose so:

```
{
    "require": {
        "eozden/paginator-route": "^1.0"
    }
}
```

Usage
-----

[](#usage)

In App/Http/Kernel.php, add the paginator-route middleware.

```
'api' => [
    'throttle:60,1',
    \Eozden\PaginatorRoute\Http\Middleware\PaginatorRoute::class
],
```

### Examples

[](#examples)

```
# In your route file contains this route.
Route::get('/users/list/{page}', 'UserController@list');

# In your UserController file use as normal.
public function list()
{
    User::paginate(30);
}
```

Changelog
---------

[](#changelog)

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

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

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

[](#contributing)

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

Credits
-------

[](#credits)

- [Enes Özden](https://twitter.com/ensozden)
- [All Contributors](../../contributors)

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

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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 ~0 days

Total

2

Last Release

1995d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1483381?v=4)[Enes Özden](/maintainers/eozden)[@eozden](https://github.com/eozden)

---

Top Contributors

[![eozden](https://avatars.githubusercontent.com/u/1483381?v=4)](https://github.com/eozden "eozden (3 commits)")

---

Tags

laravelpagerouterpaginator

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/eozden-paginator-route/health.svg)

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

###  Alternatives

[proai/lumen-annotations

Route and event binding annotations for Laravel Lumen

1012.4k](/packages/proai-lumen-annotations)

PHPackages © 2026

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