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

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

lioneagle/lioneagle-paginator
=============================

A simple package to allow Laravels Paginator to get the page size and page number from the URL query parameters.

v2.0.0(3y ago)110.1kMITPHPPHP ^8.0

Since Jul 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/lioneaglesolutions/lioneagle-paginator)[ Packagist](https://packagist.org/packages/lioneagle/lioneagle-paginator)[ Docs](https://github.com/lioneagle/lioneagle-paginator)[ RSS](/packages/lioneagle-lioneagle-paginator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (6)Used By (0)

Automatically parse Page Number and Page Size to Laravels Pagaintor
===================================================================

[](#automatically-parse-page-number-and-page-size-to-laravels-pagaintor)

---

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

[](#installation)

You can install the package via composer:

```
composer require lioneagle/lioneagle-paginator
```

You can publish and run the migrations with:

You can publish the config file with:

```
php artisan vendor:publish --provider="Lioneagle\LioneaglePaginator\LioneaglePaginatorServiceProvider" --tag="lioneagle-config"
```

Usage
-----

[](#usage)

```
class UserController extends Controller
{
    public function index()
    {
        $users = User::paginator();

        return UserResource($users);
    }
}
```

Now a request formatted as below (when using the default config) will return a paginated response as expected;

```
/users?page[number]=5&page[size]=50

```

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.

Credits
-------

[](#credits)

- [James Mooring](https://github.com/lioneaglesolutions)

License
-------

[](#license)

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

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

5

Last Release

1458d ago

Major Versions

1.2.0 → v2.0.02022-05-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/876ca2e658007e2de20954cda711e5d69fbc1b18569b2a6ef5dde0c7ab0c52b2?d=identicon)[lioneaglesolutions](/maintainers/lioneaglesolutions)

---

Top Contributors

[![lioneaglesolutions](https://avatars.githubusercontent.com/u/61766491?v=4)](https://github.com/lioneaglesolutions "lioneaglesolutions (11 commits)")

---

Tags

laravellioneaglelioneagle-paginator

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[highideas/laravel-users-online

This package will provide an online users management.

203113.2k1](/packages/highideas-laravel-users-online)[stephenjude/filament-blog

Filament Blog Builder

20317.8k](/packages/stephenjude-filament-blog)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11229.2k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

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