Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

justbetter/laravel-pagination-with-havings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Pagination with Havings

This package is not needed anymore from Laravel 7.10.0 and up. This is fixed by Taylor Otwell with this PR: laravel/framework#32624


This Laravel 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 justbetter/laravel-pagination-with-havings

Usage

Just use the trait on the model.

Example

use JustBetter\PaginationWithHavings\PaginationWithHavings;

class MyModel extends Eloquent
{
    use PaginationWithHavings;

    ...
}

Ideas, bugs or suggestions?

Please create a issue or a pull request.

License

MIT

About us

We’re a innovative development agency from The Netherlands building awesome websites, webshops and web applications with Laravel and Magento. Check out our website justbetter.nl and our open source projects.


JustBetter logo

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages