staudenmeir/eloquent-json-relations
Adds JSON foreign key support to Laravel Eloquent relationships (belongsTo, hasMany, morph*, through). Also enables many-to-many and has-many-through relations using JSON arrays (IDs or objects) across MySQL, Postgres, SQLite, SQL Server.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| zing/laravel-eloquent-relationships | 0.87 | — | 8 | 8 | 0 | 39K | 1 | 22.4 | 58.5 | MIT | 3 weeks ago | |
| timacdonald/json-api | 0.87 | — | 641 | 644 | 50 | 99K | 8 | 21.0 | 36.1 | — | 7 months ago | |
| darrylkuhn/dialect | 0.87 | Dialect is a Laravel package for managing translations in the database. It scans your app for missing keys, provides a web UI for adding and editing translations, and helps keep localization strings organized without manually editing language files. | 126 | — | 24 | — | 0 | 1.7 | — | MIT | 5 years ago | |
| 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 | |
| staudenmeir/eloquent-has-many-deep | 0.86 | Extended HasManyThrough for Laravel 5.5+ lets you define relationships with unlimited intermediate models, supporting many-to-many, polymorphic, and combined relationship types. Define deep relationships by concatenating existing ones or specifying keys manually; includes third-party package support... | 2,872 | 2,876 | 157 | 943K | 2 | 36.4 | 36.8 | MIT | 7 months ago | |
| laravel-json-api/non-eloquent | 0.86 | Laravel JSON:API adapter for non-Eloquent data sources, letting you expose custom repositories or external APIs through the JSON:API spec with resources, relationships, filtering, sorting, and pagination—no Eloquent models required. | 4 | 4 | 1 | 24K | 0 | 0.1 | 50.7 | MIT | — | |
| staudenmeir/laravel-merged-relations | 0.86 | 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 | 55K | 1 | 9.6 | 36.2 | MIT | 7 months ago | |
| mr-punyapal/laravel-extended-relationships | 0.86 | Extra Eloquent relationship helpers for Laravel that cut database queries, improve performance, and reduce duplicate code. Requires PHP 8.3+ and Laravel 12/13, with easy Composer installation. | 174 | 174 | 8 | 1K | 1 | 21.2 | 14.0 | MIT | 2 months ago | |
| rgalstyan/laravel-aggregated-queries | 0.86 | Laravel Aggregated Queries helps you combine multiple database queries into one aggregated call, reducing round trips and simplifying complex reporting. It keeps query builder workflows familiar while making data fetching more efficient and code easier to maintain for dashboards and reports. | 10 | 10 | 0 | 2 | 0 | 2.7 | 1.0 | MIT | 10 months ago | |
| atldays/laravel-eloquent-join-relation | 0.86 | Add SQL joins to Laravel Eloquent relationships without dropping to the query builder. atldays/laravel-eloquent-join-relation lets you join related tables through existing relationship definitions, filter and sort by joined columns, and keep clean, readable model code. | 0 | — | 0 | — | 0 | 9.1 | — | MIT | 6 months ago | |
| carsdotcom/laravel-json-model | 0.86 | A Laravel package for working with JSON-backed models, letting you define structured JSON data as Eloquent-style models and query or persist it through familiar Laravel conventions. Useful for flexible schemas, configuration, and document-style storage. | 1 | — | 1 | — | 5 | 20.8 | 1.3 | MIT | 4 weeks ago | |
| oza/laravel-database-jsonable | 0.86 | A Laravel package that adds JSON column support to Eloquent models, making it easy to store, retrieve, and cast structured JSON data in your database without custom accessors or mutators. | 19 | 19 | 1 | 0 | 1 | 0.2 | — | — | — | |
| ankurk91/laravel-eloquent-relationships | 0.86 | — | 58 | 59 | 9 | 8K | 0 | 0.3 | 20.7 | MIT | — | |
| masterfri/laravel-smart-relations | 0.86 | 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 | |
| znck/belongs-to-through | 0.86 | — | 1,269 | 605 | 97 | 637 | 0 | 24.6 | 2.6 | MIT | 8 months ago | |
| 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 |
|
| reedware/laravel-relation-joins | 0.85 | — | 212 | 212 | 22 | 87K | 3 | 20.4 | 39.2 | MIT | 6 months ago | |
| tusimo/embed-relation | 0.85 | — | 3 | 3 | 0 | 141 | 0 | 1.5 | 21.5 | MIT | 7 years ago | |
| jenssegers/model | 0.85 | — | 394 | 395 | 61 | 58K | 17 | 14.3 | 36.5 | — | 1 year ago | |
| supportpal/eloquent-model | 0.85 | Eloquent-style base Model for PHP/Laravel to build custom, non-database models. Supports accessors/mutators, attribute casting, guarded/fillable and hidden fields, appended attributes, and easy array/JSON conversion. | 0 | 0 | 0 | 911 | 0 | 11.8 | 44.9 | — | 5 months ago |
How can I help you explore Laravel packages today?