定制 justbetter/laravel-pagination-with-havings 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

justbetter/laravel-pagination-with-havings

最新稳定版本:1.4

Composer 安装命令:

composer require justbetter/laravel-pagination-with-havings

包简介

Makes it possible to use pagination with havings in queries.

README 文档

README

This package is not needed anymore from Laravel 7.10.0 and up. This is fixed by Taylor Otwell with this PR: https://github.com/laravel/framework/pull/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

统计信息

  • 总下载量: 149.75k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 66
  • 点击次数: 2
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 66
  • Watchers: 5
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 未知