Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Eloquent Related Plus

Eloquent Related Plus Laravel Package

blasttech/eloquent-related-plus

Eloquent Related Plus extends Laravel's Eloquent relationships with handy helpers for querying, filtering, and syncing related models. It cuts boilerplate, simplifies common relationship tasks, and keeps your models clean, readable, and easy to maintain.

View on GitHub
Deep Wiki
Context7

Adds search and order functionality to Laravel Eloquent related models

Frequently asked questions about Eloquent Related Plus
What does blasttech/eloquent-related-plus do in Laravel?
It extends Eloquent relationships with helpers for querying, filtering, ordering, searching, and syncing related models. The package is intended to reduce boilerplate in relationship-heavy Laravel code. Use it when you want cleaner model classes and less repeated relationship query logic.
How do I install blasttech/eloquent-related-plus?
Install it with Composer using composer require blasttech/eloquent-related-plus. Then follow the package README on GitHub for any setup or usage details. Because it is a Laravel package, it is intended to be used inside a Laravel application.
Which Laravel versions are supported by eloquent-related-plus?
The provided context does not list specific Laravel version constraints. Check the package composer.json and README on GitHub for the authoritative support matrix. Test the package in your application before upgrading Laravel major versions.
How can I search related Eloquent models with this package?
The package adds search functionality for related models, so you can apply search criteria to relationship queries without writing the same boilerplate each time. Refer to the README for the exact helper names and syntax. This is useful for cases like filtering a user's posts or an order's items.
Can I order related models using eloquent-related-plus?
Yes, ordering related models is one of the package's stated features. It lets you add order logic to relationship queries through package helpers. Check the documentation for supported order directions and chaining behavior.
Does it support filtering and syncing related models?
The package is described as providing helpers for querying, filtering, and syncing related models. That makes it useful for common relationship tasks beyond simple search and order. Review the README for method signatures and any limitations.
Is blasttech/eloquent-related-plus safe for production use?
It is a Composer package for Laravel, but production readiness depends on your version constraints, test coverage, and maintenance needs. Review the repository activity, issues, and release history before adopting it. Run it through your application's test suite and staging environment first.
What are alternatives to eloquent-related-plus for Laravel relationship queries?
You can use Laravel's built-in relationship query methods, local scopes, or custom query builder logic. Other community packages may also provide filtering or sorting helpers. Compare feature scope and maintenance before switching.
How do I test code that uses eloquent-related-plus?
Test it like other Eloquent relationship code by using Laravel's testing tools and a test database. Cover search, ordering, filtering, and syncing behavior in feature or integration tests. Mocking is usually less useful than exercising real relationship queries.
Is the package actively maintained and where can I find documentation?
Documentation is available in the GitHub repository README at github.com/blasttech/eloquent-related-plus. Check the repository's commits, releases, and issue activity to judge maintenance. If you rely on it heavily, pin a version and monitor updates.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console