PHPackages                             mpyw/compoships-eager-limit - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. mpyw/compoships-eager-limit

ActiveLibrary[Database &amp; ORM](/categories/database)

mpyw/compoships-eager-limit
===========================

topclaudy/compoships + staudenmeir/eloquent-eager-limit

v1.2.0(3y ago)13122.4k↓23.4%2[1 PRs](https://github.com/mpyw/compoships-eager-limit/pulls)MITPHPPHP ^8.0CI failing

Since Nov 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mpyw/compoships-eager-limit)[ Packagist](https://packagist.org/packages/mpyw/compoships-eager-limit)[ RSS](/packages/mpyw-compoships-eager-limit/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (8)Used By (0)

Compoships Eager Limit [![Build Status](https://github.com/mpyw/compoships-eager-limit/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/mpyw/compoships-eager-limit/actions) [![Coverage Status](https://camo.githubusercontent.com/ef0ee532f111017c4415b23815362549944dc507109206059bb7e4c9375d4a3e/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d7079772f636f6d706f73686970732d65616765722d6c696d69742f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/mpyw/compoships-eager-limit?branch=master) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/80b181d7619938ce97e5c04fb56b2fb91d37a394077119f9cff5bdf1df38c18d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d7079772f636f6d706f73686970732d65616765722d6c696d69742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mpyw/compoships-eager-limit/?branch=master)
==============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#compoships-eager-limit---)

[topclaudy/compoships](https://github.com/topclaudy/compoships) + [staudenmeir/eloquent-eager-limit](https://github.com/staudenmeir/eloquent-eager-limit)

Caution

[staudenmeir/eloquent-eager-limit](https://github.com/staudenmeir/eloquent-eager-limit) has been merged into the core since Laravel 11. Therefore, it should have been enough to only install [topclaudy/compoships](https://github.com/topclaudy/compoships)... However, as of March 2025, PR [topclaudy/compoships#180](https://github.com/topclaudy/compoships/pull/180) has not yet been merged. Once we have seen this merged, we will abandon the package.

Requirements
------------

[](#requirements)

- PHP: `^8.0`
- Laravel: `^9.0 || ^10.0`
- [Compoships](https://github.com/topclaudy/compoships): `^2.0.4`
- [Eloquent Eager Limit](https://github.com/staudenmeir/eloquent-eager-limit): `^1.7.1`

Installing
----------

[](#installing)

```
composer require mpyw/compoships-eager-limit

```

Usage
-----

[](#usage)

```
