omgitslock/relation-parser
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.
Adopt when several of the following hold:
v0.x) line whose API may still move — pre-1.0 signals interface churn and warrants a spike, not a commitment.Look elsewhere when:
For executives: This is a leverage decision, not a technology preference. Adopting a well-maintained package for a commodity capability trades a one-time integration cost for engineering capacity we'd otherwise spend rebuilding something customers don't pay us for. The decision hinges on two numbers: the fully loaded cost of building and maintaining the equivalent in-house over 24 months, and the switching cost if we later need to replace it. We should approve adoption where the package is wrapped behind an internal interface — that bounds the downside to a contained swap — and decline where the capability is part of what differentiates us.
For engineering: Treat this as a dependency with an owner. Before adoption we want: a named maintainer on our side, a smoke-test spike against our actual Laravel version and multi-tenant/auth setup, the public API surface we intend to depend on documented and wrapped in our own adapter, and an explicit upgrade runbook. The release is currently at a v0.x version, which means the public API is still settling — plan for churn, pin the version, and revisit the wrapper boundary at 1.0. Benchmark the two or three workflows it touches against our current implementation so we can quantify the gain rather than assert it, and record the result so the next team inherits the reasoning, not just the dependency.
Ask: approve a time-boxed spike and a written adopt/decline recommendation, rather than an open-ended commitment to the package.
How can I help you explore Laravel packages today?