New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

staudenmeir/eloquent-param-limit-fix

Laravel Eloquent eager loading fix for parameter limits of SQLite and SQL Server
213,280 51

Larablocks Analysis

Compatibility

Trusted maintainer

staudenmeir/eloquent-param-limit-fix works with any PHP project: the latest release (v1.1.2, May 26, 2024) doesn't depend on Laravel.

  • Trusted maintainer: staudenmeir publishes 15 packages on Larablocks, with 5,204,163 downloads a month between them.

Recommendation checks

Use with care

Use with care: meets 0 of 3 checks.

  • No release in the last 12 months (last: May 26, 2024)
  • 8,277 downloads a month (needs 10,000)
  • 51 GitHub stars (needs 100)

State

Quiet
  • Last stable release: May 26, 2024.
  • No releases in the last 12 months.
  • First released: May 28, 2018.
  • Monthly downloads: 8,277, up 95% from six months ago.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require staudenmeir/eloquent-param-limit-fix
Latest Version:v1.1.2
License:MIT
Last Updated:Mar 4, 2025
Links: GitHub  ·  Packagist
Maintainer: staudenmeir

Eloquent Param Limit Fix

CI Code Coverage PHPStan Latest Stable Version Total Downloads License

This Laravel Eloquent fix allows eager loading beyond the parameter limits of MySQL/MariaDB (65,535), PostgreSQL (65,535), SQLite (999), and SQL Server (2,100).

Tested with Laravel 5.4+.

Installation

composer require staudenmeir/eloquent-param-limit-fix

Usage

Use the ParamLimitFix trait in the affected parent models:

class User extends Model
{
    use \Staudenmeir\EloquentParamLimitFix\ParamLimitFix;

    public function posts()
    {
        return $this->hasMany('App\Post');
    }
}

$users = User::with('posts')->get();

Package Conflicts

Contributing

Please see CONTRIBUTING and CODE OF CONDUCT for details.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

670,032,257 9,703
laravel/framework

The Laravel Framework.

640,572,096 35,338
laravel/tinker

Powerful REPL for the Laravel framework.

546,909,908 7,440
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

465,816,364 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

438,010,529 4,660

Version History

Version Released License
v1.1.2 MIT
v1.1.1 MIT
v1.1 MIT
v1.0.1 MIT
v1.0 MIT