maize-tech/laravel-remote-rule
Laravel Remote Rule lets you delegate field validation to a remote HTTP endpoint, turning its JSON response into standard validation errors. Share validation logic across services and apps without duplicating rules in every codebase.
Adopt when:
Rule classes regardless.Look elsewhere when:
For executives: This is a small, low-cost library that lets business rules for form validation be updated without shipping new code. The practical benefit is faster turnaround on rule changes (days → minutes) and fewer engineering hours spent on routine validation tweaks. The new 2.2.0 release is a compatibility update — it adds Laravel 11 support, which keeps our framework upgrade on schedule and means the dependency is actively maintained. There are no breaking changes and no migration work. The main risk is vendor concentration: it's maintained by a small team, so we should treat it as a dependency we could absorb in-house if needed. Given its narrow scope, that exit cost is low.
For engineering: 2.2.0 is a non-breaking minor release adding Laravel 11.x support; nothing to remediate, and it clears this package from the Laravel 11 upgrade checklist. Architecturally, treat it as a rule resolver, not a rule engine: keep complex domain validation in dedicated Rule classes, and use remote resolution only for the parts that must change without a deploy. Before rollout, decide and document three things — the caching strategy and TTL for the rule source, the fallback behaviour when the remote source is unreachable (fail-closed vs. fall back to local rules), and the trust boundary for who can author rules, since remote rules are executable configuration. Because the package is thin and single-maintainer, prefer wrapping it behind a small internal interface so a fork or replacement is a contained change rather than a refactor.
How can I help you explore Laravel packages today?