signifly/laravel-pagination-middleware

This package is abandoned and no longer maintained. No replacement package was suggested.

A pagination middleware for your Laravel app.

v2.0.0 2023-11-21 14:31 UTC

This package is auto-updated.

Last update: 2024-10-21 16:25:29 UTC


README

Latest Version on Packagist Build Status StyleCI Quality Score Total Downloads

The signifly/laravel-pagination-middleware package allows you to easily configure pagination default and max values in your Laravel app.

Installation

You can install the package via composer:

$ composer require signifly/laravel-pagination-middleware

The package will automatically register itself.

Add the middleware to your App\Http\Kernel.php file:

protected $routeMiddleware = [
    'pagination' => \Signifly\Pagination\Pagination::class,
];

Now you can apply the middleware to your routes or middleware groups.

You can publish the config by running:

$ php artisan vendor:publish --provider="Signifly\\Pagination\\PaginationServiceProvider"

Testing

$ composer test

Security

If you discover any security issues, please email dev@signifly.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.