stancl/laravel-hasmanywithinverse
Laravel's hasMany leaves the inverse relation unset, so accessing the parent from each child triggers extra queries. This package adds hasManyWithinverse, which hydrates the inverse automatically—so $child->parent is already loaded without N+1.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mostafamaklad/laravel-permission-mongodb | 0.87 | Manage roles and permissions in Laravel with MongoDB. This package offers a MongoDB-backed implementation of familiar Laravel permission features, letting you assign roles, permissions, and direct user permissions through Eloquent-style APIs. | 110 | 112 | 82 | 2K | 8 | 5.5 | 18.9 | MIT | 4 years ago | |
| santigarcor/laravel-ownable | 0.87 | A Laravel package that adds polymorphic ownership to Eloquent models, letting any model be assigned to users or other entities. It provides traits, relationships, and helpers to query owned records and manage ownership across your application. | 19 | — | 4 | — | 0 | 0.6 | — | MIT | 2 years ago | |
| biiiiiigmonster/hasin | 0.87 | biiiiiigmonster/hasin brings recursive "has in" relationship queries to Laravel's Eloquent ORM, letting you fetch ancestors, descendants, and other nested tree data with fluent, hasMany-style syntax instead of raw recursive SQL. Ideal for category trees, comment threads, and org charts. | 154 | — | 17 | — | 0 | 9.8 | 0.4 | MIT | 7 months ago | |
| sassnowski/laravel-shareable-models | 0.87 | Laravel package that turns any Eloquent model into a shareable resource with unique, revocable URLs. Add a trait, generate share links, and let recipients view records without writing custom sharing controllers, routes, or token handling. | 268 | 268 | 23 | 12 | 2 | 2.8 | 1.8 | MIT | 3 years ago | |
| ankurk91/laravel-eloquent-relationships | 0.86 | — | 58 | 59 | 9 | 8K | 0 | 0.3 | 20.7 | MIT | — | |
| fico7489/laravel-eloquent-join | 0.86 | Laravel Eloquent Join adds SQL JOIN support to Eloquent models and relationships, letting you sort, filter, and query joined tables directly while keeping familiar query builder syntax. It simplifies complex relationship queries and helps avoid extra queries. | 338 | — | 87 | — | 11 | 7.6 | 4.1 | MIT | 1 year ago |
|
| jeremykenedy/slack-laravel | 0.86 | Slack integration for Laravel: send messages through incoming webhooks or the Slack Web API, route logs to Slack channels, and build notifications with a simple, configurable wrapper. Includes channel helpers and clean error handling for fast setup. | 53 | 54 | 16 | 16K | 0 | 1.1 | 34.2 | MIT | 6 years ago | |
| mll-lab/laravel-db-ready | 0.86 | mll-lab/laravel-db-ready adds an Artisan command that waits until your database accepts connections, retrying with configurable timeouts. Handy in Docker entrypoints and CI pipelines where migrations run before MySQL or Postgres is fully up, so boot scripts avoid race conditions. | 3 | 4 | 0 | 8 | 0 | 0.2 | 4.7 | MIT | 4 years ago | |
| mopo922/laravel-treats | 0.85 | — | 107 | 108 | 30 | 11K | 5 | 3.2 | 30.3 | MIT | — | |
| jedrzej/withable | 0.85 | — | 24 | 25 | 4 | 6K | 3 | 1.0 | 33.9 | MIT | — | |
| sarfraznawaz2005/noty | 0.85 | A Laravel package for displaying flash notifications with Noty.js. Easily show success, error, warning, and info messages from controllers or helpers as customizable toast alerts with minimal setup. | 32 | 32 | 4 | 54 | 0 | 0.6 | 5.8 | MIT | 6 years ago | |
| sly/relation-bundle | 0.85 | A lightweight PHP package for defining and managing relationships between models. It simplifies linking records, querying related data, and keeping relation logic reusable, with a clean API that fits naturally into existing Eloquent workflows. | 10 | 10 | 6 | 0 | 0 | 0.2 | — | — | — | |
| socialiteproviders/odnoklassniki | 0.85 | Odnoklassniki (OK.ru) OAuth2 provider for Laravel Socialite. Adds a ready-made driver so you can authenticate users via Odnoklassniki with one line: Socialite::driver('odnoklassniki')->redirect(). Install with Composer, set your client ID and secret, and receive standard Socialite user objects. | 582 | 0 | 529 | 2K | 5 | 20.5 | 14.2 | MIT | — | |
| lastdragon-ru/lara-asp-eloquent | 0.85 | — | 1 | 1 | 0 | 14K | 0 | 0.0 | 53.2 | MIT | — | |
| abdrzakoxa/laravel-eloquent-filter | 0.85 | A Laravel package for adding reusable, query-string-driven filters to Eloquent models. Define filters once and apply them through simple request parameters to keep controllers clean and queries flexible. | 13 | — | 1 | — | 0 | 0.4 | — | MIT | 4 years ago | |
| midnightluke/doctrine-relations | 0.85 | Adds Laravel-style relationships to Doctrine entities, letting you define hasOne, hasMany, belongsTo, and belongsToMany associations with simple attributes and query them through an intuitive, Eloquent-like API. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| tightenco/parental | 0.85 | Single Table Inheritance for Laravel Eloquent. Define a parent model with child classes stored in one table, automatically casting records to the right type. Great for polymorphic-like data without multiple tables, with simple setup and familiar Eloquent APIs. | 1,541 | 1,540 | 104 | 235K | 5 | 28.0 | 34.6 | MIT | 8 months ago | |
| reedware/laravel-relation-joins | 0.85 | — | 212 | 212 | 22 | 87K | 3 | 20.4 | 39.2 | MIT | 6 months ago | |
| staudenmeir/eloquent-has-many-deep-contracts | 0.85 | Contracts for staudenmeir/eloquent-has-many-deep. Includes the ConcatenableRelation contract to make third-party relationship packages concatenable with HasManyDeep, improving interoperability when combining deep Eloquent relations. | 7 | 7 | 1 | 1M | 0 | 8.2 | 58.4 | MIT | 8 months ago | |
| reedware/laravel-composite-relations | 0.85 | Adds composite foreign key support to Eloquent relationships. Define Belongs To, Has One, and Has Many relations using multiple columns, with full eager loading and "where has" query support through a simple trait on your base model. | 22 | 22 | 8 | 9K | 0 | 16.7 | 40.0 | MIT | 4 months ago |
How can I help you explore Laravel packages today?