PHPackages                             blasttech/laravel-paginate-plus - 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. [Database &amp; ORM](/categories/database)
4. /
5. blasttech/laravel-paginate-plus

ActiveLibrary[Database &amp; ORM](/categories/database)

blasttech/laravel-paginate-plus
===============================

Extra paginate functions for Laravel

2.0.3(4y ago)125.1k↓100%1MITPHPPHP &gt;=7.2CI failing

Since Feb 1Pushed 4y ago9 watchersCompare

[ Source](https://github.com/blasttech/laravel-paginate-plus)[ Packagist](https://packagist.org/packages/blasttech/laravel-paginate-plus)[ Docs](https://github.com/blasttech/laravel-paginate-plus)[ RSS](/packages/blasttech-laravel-paginate-plus/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (19)Used By (0)

Extra functionality for Laravel pagination
==========================================

[](#extra-functionality-for-laravel-pagination)

[![Latest Version](https://camo.githubusercontent.com/dde72299f667a6043473db2b0bbb79a331682f0e255ecfe4877417fcddde0de4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f626c617374746563682f6c61726176656c2d706167696e6174652d706c75732e7376673f7374796c653d666c61742d737175617265)](https://github.com/blasttech/laravel-paginate-plus/releases)[![Build Status](https://camo.githubusercontent.com/0f2340d10050246b73138e86306e4072cd091a6ca0b922276a6226add0d8000c/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f626c617374746563682f6c61726176656c2d706167696e6174652d706c75732e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/blasttech/laravel-paginate-plus)[![Quality Score](https://camo.githubusercontent.com/0fb4f2ad3d26e69d07302d2b1b4cc6f1f6bec19e17c2cbe6275d67c8e0ed8782/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f626c617374746563682f6c61726176656c2d706167696e6174652d706c75732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/blasttech/laravel-paginate-plus)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![StyleCI](https://camo.githubusercontent.com/1b67bcfa41332903f427fb0deaac12327dec2ebcceb210bf457a939899ab01a9/68747470733a2f2f7374796c6563692e696f2f7265706f732f3131393736303533332f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/119760533)[![Total Downloads](https://camo.githubusercontent.com/b6944a414c49fda26eae65755a6d75d0742754a753b9c83c8d81ced2e6347c2d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f626c617374746563682f6c61726176656c2d706167696e6174652d706c75732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/blasttech/laravel-paginate-plus)

This package provides a trait that adds the ability to paginate complex models.

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

[](#installation)

This package can be installed through Composer.

```
$ composer require blasttech/laravel-paginate-plus

```

Usage
-----

[](#usage)

To add complex pagination behaviour to your model you must:

1. specify that the model will conform to `Blasttech\PaginatePlus\PaginatePlus`
2. use the trait `Blasttech\PaginatePlus\PaginatePlusTrait`
3. specify the number of rows to paginate

### Example

[](#example)

```
use Blasttech\PaginatePlus\PaginatePlus;
use Blasttech\PaginatePlus\PaginatePlusTrait;

class MyModel extends Eloquent implements PaginatePlus
{
    use PaginatePlusTrait;

    public function getCustomers()
    {
        return Customer::addSelect(DB::raw('REPLACE(customer_name, 'Pty Ltd', '') AS customer'))
            ->groupBy('customer')
            ->paginatePlus(25);
    }

    ...
}
```

This will create a LengthAwarePaginator of 25 records. If no value is provided for the number of records to show, the model's per\_page value (defaults to 15) will be used.

Normally, you wouldn't be able to paginate when there is a grouped calculated field, but with this package you can.

License
-------

[](#license)

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

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 83.8% 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 ~105 days

Recently: every ~214 days

Total

13

Last Release

1752d ago

Major Versions

0.1.8 → 2.0.02019-10-08

PHP version history (2 changes)0.1.0PHP &gt;=7.0

2.0.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/f99e8c76b2ec65ebcc2c9c346839736e22e9f5d503e23272319937bc60ffe211?d=identicon)[mhkb](/maintainers/mhkb)

---

Top Contributors

[![mhkb](https://avatars.githubusercontent.com/u/4683976?v=4)](https://github.com/mhkb "mhkb (31 commits)")[![maikenunes](https://avatars.githubusercontent.com/u/4635672?v=4)](https://github.com/maikenunes "maikenunes (4 commits)")[![ivanhennig](https://avatars.githubusercontent.com/u/6207878?v=4)](https://github.com/ivanhennig "ivanhennig (2 commits)")

---

Tags

laravelmodeleloquentpaginate

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/blasttech-laravel-paginate-plus/health.svg)

```
[![Health](https://phpackages.com/badges/blasttech-laravel-paginate-plus/health.svg)](https://phpackages.com/packages/blasttech-laravel-paginate-plus)
```

###  Alternatives

[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k7.2M71](/packages/mongodb-laravel-mongodb)[dyrynda/laravel-model-uuid

This package allows you to easily work with UUIDs in your Laravel models.

4802.8M8](/packages/dyrynda-laravel-model-uuid)[spiritix/lada-cache

A Redis based, automated and scalable database caching layer for Laravel

591444.8k2](/packages/spiritix-lada-cache)[mehdi-fathi/eloquent-filter

Eloquent Filter adds custom filters automatically to your Eloquent Models in Laravel.It's easy to use and fully dynamic, just with sending the Query Strings to it.

450191.6k1](/packages/mehdi-fathi-eloquent-filter)[pdphilip/elasticsearch

An Elasticsearch implementation of Laravel's Eloquent ORM

145360.2k4](/packages/pdphilip-elasticsearch)

PHPackages © 2026

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