alt-three/validator
Alt Three Validator is a lightweight Laravel package that extends the built-in validator with a hash rule. Use it to verify that an input matches a stored hash, such as checking a password against a hashed value, with simple rule syntax in your validation rules.
Illuminate\Validation\Factory — essentially a service class exposing a with(...)->validate(...) flow plus a dedicated ValidationException. At 20 stars and zero dependents, this is a "copy the pattern, not the dependency" decision. The honest build estimate is under a day of engineering for an equivalent in-house class.$this->validate()) or a domain/application concern invoked from command handlers, queued jobs, console commands, and imported data paths. This package bets on the latter, which is a defensible product-architecture position even if the package itself is not the vehicle for it.Illuminate\Validation\ValidationException directly.Adopt only under narrow, legacy conditions:
alt-three/command-bus), where this package is a working, API-compatible piece of an existing composition — and the cost of removal exceeds the cost of carrying it short-term.Look elsewhere — or build in-house — when:
Validator::make() for HTTP, Illuminate\Validation\ValidationException for failure handling, spatie/laravel-data if you want DTO-plus-validation, or a 50-line internal Validator service if you want the command-bus pattern without the dependency.To executives: This is a free, MIT-licensed utility that wraps Laravel's built-in validation. It is not a strategic dependency and carries no licensing cost — but it is archived, has had no release since July 2020, and has zero downstream projects using it. The commercial exposure is not license fees; it is the engineering time to replace it during a framework upgrade and the absence of anyone to call if it breaks. Recommendation: do not adopt for new work; if already present, fund a small removal ticket and fold the behavior into our own code.
To engineering: It is a small, single-purpose abstraction — a validation service and a typed exception over Laravel's validator factory. That makes it cheap to fork or reimplement and expensive to depend on. There is no maintainer, no release cadence, and no usage base to shake out bugs. If the pattern (validate in command handlers, not just controllers) is valuable to us, we should own it: either use Illuminate\Validation\ValidationException directly or write the thin wrapper in-house so it moves with our Laravel version. Either way, budget roughly a day and treat this as a cleanup item, not an architecture decision.
How can I help you explore Laravel packages today?