Skip to content

planetadeleste/oc-pagination-with-havings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OctoberCMS Pagination with Havings

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

About

Makes it possible to use pagination with havings in queries with OctoberCMS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages