staudenmeir/eloquent-eager-limit
Add per-parent limits to eager-loaded Eloquent relationships in Laravel. Load only the latest N related models for each parent (e.g., newest comments per post) without N+1 queries. Supports common relations and integrates cleanly with queries and pagination.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| volosyuk/simple-eloquent | 0.82 | — | 55 | 56 | 10 | 2K | 0 | 1.3 | 21.1 | MIT | 6 years ago | |
| zing/laravel-eloquent-relationships | 0.82 | — | 8 | 8 | 0 | 5K | 1 | 19.0 | 43.6 | MIT | 2 months ago | |
| nunomaduro/essentials | 0.82 | — | 1,216 | 1,208 | 76 | 75K | 2 | 24.7 | 29.6 | MIT | 3 months ago | |
| sleeping-owl/with-join | 0.81 | — | 92 | 94 | 25 | 307 | 6 | 4.6 | 11.3 | MIT | 11 years ago | |
| mpyw/eloquent-has-by-non-dependent-subquery | 0.81 | — | 79 | 84 | 10 | 4K | 0 | 1.5 | 17.0 | MIT | 3 years ago | |
| jedrzej/withable | 0.81 | — | 24 | 25 | 3 | 3K | 3 | 1.0 | 30.2 | MIT | — | |
| lastdragon-ru/lara-asp-eloquent | 0.81 | — | 1 | 1 | 0 | 5K | 0 | 0.0 | 46.5 | MIT | — | |
| mpyw/compoships-eager-limit | 0.81 | — | 13 | 13 | 2 | 690 | 1 | 0.6 | 23.5 | MIT | 3 years ago | |
| mohammad-fouladgar/eloquent-builder | 0.81 | — | 526 | 527 | 43 | 2K | 0 | 4.2 | 8.5 | MIT | 6 years ago | |
| mpyw/eloquent-has-by-join | 0.80 | — | 23 | 25 | 4 | 885 | 0 | 1.2 | 15.4 | MIT | 3 years ago | |
| msafadi/laravel-eloquent-join-with | 0.80 | — | 165 | 165 | 6 | 1 | 2 | 13.2 | 0.2 | MIT | 6 months ago | |
| ashleydawson/simple-pagination | 0.79 | Framework-agnostic pagination library for PHP. Provide callbacks to count total items and fetch a slice (offset/length), and it returns a Pagination object with items plus page metadata and ranges. Works with arrays, DB lists, Doctrine, Solr, and more. | 18 | 19 | 5 | 566 | 1 | 3.0 | 20.2 | MIT | 7 years ago | |
| ankurk91/laravel-eloquent-relationships | 0.79 | — | 58 | 59 | 9 | 7K | 0 | 0.3 | 20.2 | MIT | — | |
| onemustcode/query | 0.79 | — | 4 | 4 | 2 | 61 | 5 | 4.4 | 16.5 | MIT | 8 years ago | |
| kirschbaum-development/eloquent-power-joins | 0.79 | Eloquent Power Joins brings Laravel-style joins to Eloquent. Join via relationship definitions, reuse model scopes in join contexts, query relationship existence with joins, and sort by related columns/aggregations—all with cleaner, more readable queries. | 1,569 | 1,570 | 101 | 2M | 10 | 40.4 | 54.2 | MIT | 2 months ago | |
| ecommit/doctrine-utils | 0.78 | Small set of Doctrine ORM QueryBuilder utilities: accurate COUNT helpers, a paginator, and filter helper methods. Install via Composer and use to simplify common query building patterns in your PHP projects. | 0 | 0 | 1 | 330 | 0 | 0.0 | 34.7 | MIT | — | |
| mr-punyapal/laravel-extended-relationships | 0.78 | Adds efficient, extended Eloquent relationship helpers for Laravel models to cut queries, boost performance, and reduce duplicate code. Includes a HasExtendedRelationships trait and custom relations like belongsToManyKeys. Compatible with Laravel 11–13 and PHP 8.2+. | 174 | 174 | 9 | 824 | 1 | 23.8 | 12.3 | MIT | 1 month ago | |
| kirkbushell/eloquence | 0.76 | — | 574 | 578 | 56 | 23K | 1 | 5.7 | 22.2 | MIT | 1 year ago | |
| staudenmeir/eloquent-has-many-deep | 0.76 | Laravel Eloquent extension for “deep” has-many-through relationships across unlimited intermediate models. Supports many-to-many and polymorphic paths, combinations, and some third-party packages. Define relations by concatenating existing ones or configuring keys manually. | 2,862 | 2,864 | 160 | 538K | 2 | 45.4 | 35.9 | MIT | 2 months ago | |
| staudenmeir/laravel-cte | 0.75 | Adds Common Table Expression (CTE) support to Laravel’s query builder and Eloquent. Build WITH and recursive CTE queries (plus materialized, custom columns, cycle detection) across MySQL, Postgres, SQLite, SQL Server, MariaDB, Oracle, and SingleStore. | 664 | 664 | 51 | 407K | 0 | 29.2 | 43.6 | MIT | 3 months ago |
How can I help you explore Laravel packages today?