PHPackages                             planetadeleste/oc-pagination-with-havings - 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. planetadeleste/oc-pagination-with-havings

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

planetadeleste/oc-pagination-with-havings
=========================================

Makes it possible to use pagination with havings in queries.

1.0.1(5y ago)14MITPHPPHP &gt;=7.0

Since Nov 13Pushed 5y ago1 watchersCompare

[ Source](https://github.com/planetadeleste/oc-pagination-with-havings)[ Packagist](https://packagist.org/packages/planetadeleste/oc-pagination-with-havings)[ Docs](https://github.com/planetadeleste/oc-pagination-with-havings)[ RSS](/packages/planetadeleste-oc-pagination-with-havings/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

OctoberCMS Pagination with Havings
==================================

[](#octobercms-pagination-with-havings)

> **Based on [Laravel Pagination with Havings](https://github.com/justbetter/laravel-pagination-with-havings) package**

---

This package makes it possible to use Laravel's pagination with queries which are using havings. Without it you probably get "Column not found" MySQL errors. For more information see:

- [laravel/framework#3105](https://github.com/laravel/framework/issues/3105)
- [laravel/framework#5515](https://github.com/laravel/framework/pull/5515)

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

[](#installation)

```
composer require planetadeleste/oc-pagination-with-havings

```

Usage
-----

[](#usage)

Just use the trait on the model.

### Example

[](#example)

```
use PlanetaDelEste\PaginationWithHavings\PaginationWithHavings;

class MyModel extends \Model
{
    use PaginationWithHavings;

    ...
}

```

Ideas, bugs or suggestions?
---------------------------

[](#ideas-bugs-or-suggestions)

Please create a [issue](https://github.com/planetadeleste/oc-pagination-with-havings/issues) or a [pull request](https://github.com/planetadeleste/oc-pagination-with-havings/pulls).

Thanks
------

[](#thanks)

To [Roy Duineveld](https://github.com/justbetter) for write the original version for Laravel.

License
-------

[](#license)

[MIT](LICENSE.md)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

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

Total

2

Last Release

2007d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6322770?v=4)[Planeta del Este](/maintainers/planetadeleste)[@planetadeleste](https://github.com/planetadeleste)

---

Top Contributors

[![alvaro-canepa](https://avatars.githubusercontent.com/u/5142298?v=4)](https://github.com/alvaro-canepa "alvaro-canepa (3 commits)")

---

Tags

laravelpaginationoctobercmshaving

### Embed Badge

![Health badge](/badges/planetadeleste-oc-pagination-with-havings/health.svg)

```
[![Health](https://phpackages.com/badges/planetadeleste-oc-pagination-with-havings/health.svg)](https://phpackages.com/packages/planetadeleste-oc-pagination-with-havings)
```

###  Alternatives

[rtconner/laravel-likeable

Trait for Laravel Eloquent models to allow easy implementation of a 'like' or 'favorite' or 'remember' feature.

394388.0k5](/packages/rtconner-laravel-likeable)[maikealame/laravel-auto

Laravel helper to make almost everything for your project

414.7k](/packages/maikealame-laravel-auto)[omalizadeh/laravel-query-filter

A laravel package for resource filtering via request query string

163.0k](/packages/omalizadeh-laravel-query-filter)

PHPackages © 2026

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