Download the PHP package mohamedsabil83/laravel-loadmore without Composer
On this page you can find all versions of the php package mohamedsabil83/laravel-loadmore. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mohamedsabil83/laravel-loadmore
More information about mohamedsabil83/laravel-loadmore
Files in mohamedsabil83/laravel-loadmore
Package laravel-loadmore
Short Description Allow pagination to load an initial number of items on the first page and subsequent pages can load a different number of items
License MIT
Homepage https://github.com/mohamedsabil83/laravel-loadmore
Informations about the package laravel-loadmore
A LOADMORE
Trait for Laravel Pagination
A trait for Laravel 5.8+ pagination that allows you to retrieve an initial number of items in the first page and a different number of items on subsequent pages.
Installation
You can install the package via composer:
Usage
Once installed, you can import it into your eloquent model like following:
Then you can use it, e.g. in your controller, like this:
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Mohamed Sabil
- All Contributors
License
The MIT License (MIT). Please see License File for more information.