salamwaddah/laravel-relation-parser
Parse dot-notated Eloquent relationship strings into structured arrays for safe eager loading, validation, and API include parameters. Handles nested relations, making it easy to resolve and load only requested relationships in Laravel.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| staudenmeir/eloquent-has-many-deep-contracts | 0.86 | 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 | |
| midnightluke/doctrine-relations | 0.86 | 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 | — | |
| culturegr/custom-relation | 0.85 | Easily define custom relationships between Eloquent models, like connecting users to permissions through roles. Includes an Artisan generator and full support for eager-loading, making complex multi-table joins clean and reusable. | 18 | 18 | 4 | 165 | 1 | 21.4 | 15.7 | NOASSERTION | 1 month ago | |
| quentingab/wodel | 0.85 | quentingab/wodel is a Composer-installable Laravel/PHP package from quentingab. It is an early-stage project with limited adoption; consult the repository README for installation, configuration, and usage details before adding it to production. Best suited for evaluation and experimentation. | 0 | 0 | 0 | 1 | 0 | 0.2 | 2.9 | MIT | 5 years ago | |
| omgitslock/relation-parser | 0.85 | A Laravel package for parsing and resolving Eloquent relationship strings, turning dot-notated relation paths into queries, nested eager loads, or related models. Useful for dynamic APIs, filters, and flexible relationship handling. | 0 | — | 0 | — | 0 | 0.3 | — | — | 7 years ago | |
| stancl/laravel-hasmanywithinverse | 0.85 | 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. | 69 | — | 5 | — | 1 | 0.9 | — | MIT | 3 years ago | |
| imanghafoori/eloquent-relativity | 0.85 | Laravel package that lets you declare Eloquent relationships without importing related model classes. Relativity infers the target model from the method name, so hasMany, hasOne, belongsTo and belongsToMany calls stay concise and your models keep fewer use statements. | 148 | 148 | 13 | 27 | 1 | 1.2 | 1.0 | MIT | 2 years ago | |
| ramadan/easy-model | 0.85 | ramadan/easy-model is a Laravel package that simplifies Eloquent model development with convenient helpers and utilities for common model tasks, reducing boilerplate and helping you build clean, maintainable applications faster. | 11 | 11 | 0 | 0 | 0 | 17.3 | — | — | 1 month ago | |
| staudenmeir/laravel-merged-relations | 0.84 | Merge multiple Laravel Eloquent relations into a single relation that can be queried and eager loaded as one. Combine hasMany, belongsToMany, and morph relations into a unified result set, simplifying complex relationship handling in your models. | 185 | 186 | 12 | 53K | 1 | 9.6 | 36.2 | MIT | 7 months ago | |
| laravel-interaction/interactions | 0.84 | Laravel Interaction lets Eloquent models interact polymorphically—likes, favorites, votes, follows, bookmarks, subscriptions, and more. Attach reusable interaction types to any model, query who interacted and what they interacted with, and build social features with clean, extendable APIs. | 1 | — | 0 | — | 0 | 8.4 | — | MIT | 7 months ago | |
| tishotm/eloquent-ci-relations | 0.84 | tishotm/eloquent-ci-relations adds case-insensitive relationship support to Laravel Eloquent, letting you define belongsTo, hasMany, and similar relations that match keys regardless of letter casing. Useful for legacy data and mixed-case identifiers. | 6 | — | 6 | — | 0 | 12.5 | — | MIT | 4 months ago | |
| jobmetric/laravel-membership | 0.84 | Laravel Membership by Jobmetric provides a flexible foundation for managing plans, subscriptions, and member access in your PHP applications. Define membership tiers, attach features or permissions, track activation and expiration, and integrate membership checks cleanly into your Laravel models and... | 7 | 7 | 0 | 95 | 0 | 0.3 | 15.3 | MIT | 2 years ago | |
| fidum/laravel-eloquent-morph-to-one | 0.83 | Adds a MorphToOne relationship to Laravel's Eloquent ORM, letting a model own a single polymorphic related record. Useful when a parent has exactly one morph child, mirroring MorphMany but returning a single model with lazy and eager loading support. | 34 | — | 4 | — | 0 | 14.4 | — | MIT | 3 months ago | |
| mashirou1234/laravel-when-on-relation | 0.83 | Adds a whenOnRelation helper to Laravel Eloquent so you can run callbacks or apply constraints only when a relationship is loaded or present. It keeps relation-aware models, queries, and API resources concise and free of repetitive checks. | 0 | 0 | 0 | 0 | 0 | 11.6 | — | MIT | 5 months ago | |
| masterfri/laravel-smart-relations | 0.83 | Laravel Smart Relations streamlines Eloquent relationship management in Laravel with smarter helpers and conventions for defining, querying, and working with model relations, reducing boilerplate and keeping model code cleaner and easier to maintain. | 6 | — | 1 | — | 0 | 0.4 | — | — | 7 years ago | |
| saeedpooyanfar/laravel-annotation | 0.83 | A Laravel package that brings PHP annotation support to your app, letting you define and read metadata via docblocks. It enables cleaner, declarative configuration for routes, validation, and other framework features without bulky config files. | 17 | 18 | 1 | 9 | 0 | 0.1 | 2.4 | MIT | 2 years ago | |
| rapidwebltd/improved-polymorphic-eloquent-builder | 0.83 | Improve polymorphic relationship querying in Laravel with a cleaner Eloquent builder API. This package helps you filter and chain queries across morph types more expressively, reducing boilerplate when working with polymorphic models. | 11 | — | 1 | — | 0 | 0.4 | — | LGPL-3.0 | 8 years ago | |
| ankurk91/laravel-eloquent-relationships | 0.83 | — | 58 | 59 | 9 | 8K | 0 | 0.3 | 20.7 | MIT | — | |
| ardalanamini/laravel-custom-relation | 0.83 | A Laravel package that lets you define custom Eloquent relationships beyond the built-in hasMany, belongsTo, and morphTo types. Build relations with your own query logic and constraints, keeping complex model associations flexible and readable. | 4 | — | 4 | — | 0 | 0.4 | — | MIT | 3 years ago | |
| sheikhheera/requent | 0.83 | Requent is a Laravel package for building recurring events and schedules. Define recurrence rules once, then generate upcoming occurrences, check whether a given date matches, and integrate seamlessly with Eloquent models and your existing application. | 78 | 79 | 6 | 0 | 0 | 0.6 | — | MIT | 9 years ago |
How can I help you explore Laravel packages today?