planetadeleste/oc-pagination-with-havings

Makes it possible to use pagination with havings in queries.

1.0.1 2020-11-13 07:48 UTC

This package is auto-updated.

Last update: 2024-10-13 17:17:54 UTC


README

Based on 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:

Installation

composer require planetadeleste/oc-pagination-with-havings

Usage

Just use the trait on the model.

Example

use PlanetaDelEste\PaginationWithHavings\PaginationWithHavings;

class MyModel extends \Model
{
    use PaginationWithHavings;

    ...
}

Ideas, bugs or suggestions?

Please create a issue or a pull request.

Thanks

To Roy Duineveld for write the original version for Laravel.

License

MIT