swooder/simple-pagination

simple pagination extension for laravel-admin

Maintainers

Package info

github.com/swooder/simple-pagination

pkg:composer/swooder/simple-pagination

Statistics

Installs: 1 745

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2023-05-30 07:01 UTC

This package is auto-updated.

Last update: 2026-03-01 00:42:10 UTC


README

This is an extension to integrates Laravel simple-pagination into laravel-admin.

Installation

composer require swooder/simple-pagination

Configurations

Open config/app.php, add configurations for providers sections

'providers' => [
    ...
    Swooder\SimplePagination\SimplePaginationServiceProvider::class
]
   

Usage

Use it in the grid:

// origin use case in  grid
$grid = new Grid(new User());

//now replace Grid to SimpleGird
$grid = new SimpleGrid(new User());

//if you need the defalut paginator
$grid->simplePaginate(false);

License

Licensed under The MIT License (MIT).