timacdonald/rule-builder
A Laravel package for building custom validation rules with a fluent, object-oriented API. Compose reusable rule objects, keep validation logic clean and testable, and use them directly in form requests or validators.
optional validation rule—so adopting it is a deliberate roadmap and maintenance decision, not a routine patch.optional, decide whether to migrate to v4’s supported approach, pin to the prior major version, or implement a local validation rule. This directly affects form/API validation behavior and test coverage.optional rule may need validation-rule audits before release. PM should treat this as a compatibility gate for customer-facing forms, API payloads, and admin workflows.Consider this package if the team already relies on its validation behavior in Laravel/PHP services and can absorb a major-version migration with explicit testing. It is most appropriate when:
optional rule.Look elsewhere or defer adoption if:
optional rule is deeply embedded and no migration path is documented.For executives: v4.0.0 is a breaking release that removes the optional validation rule. The product impact is limited to areas that use that rule, but those areas must be audited before upgrade. Recommend a controlled migration: identify usage, update tests, pin the previous major version if needed, and ship only after validation regressions are cleared.
For engineering: Treat v4.0.0 as a migration item. Search the codebase for optional rule usage, review Composer constraints, update affected validation tests, and confirm the supported replacement pattern. Do not bundle this upgrade silently with unrelated feature work; isolate it so validation changes are observable and reversible.
How can I help you explore Laravel packages today?