staudenmeir/eloquent-param-limit-fix
Larablocks Analysis
Compatibility
Trusted maintainerstaudenmeir/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 careUse 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 |
Eloquent Param Limit Fix
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
staudenmeir/laravel-adjacency-list: Replace both packages with staudenmeir/eloquent-param-limit-fix-x-laravel-adjacency-list to use them on the same model.
Contributing
Please see CONTRIBUTING and CODE OF CONDUCT for details.
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | License |
|---|---|---|
| v1.1.2 | MIT | |
| v1.1.1 | MIT | |
| v1.1 | MIT | |
| v1.0.1 | MIT | |
| v1.0 | MIT |