milwad/laravel-validate
Enhanced Laravel validation with a large set of custom rule classes and helper methods for faster, cleaner advanced validation. Includes localization support and works with Laravel 9+ (PHP 8+), with community-contributed language packs.
ValidCreditCard, ValidIban, ValidJwt). Ideal for teams with tight deadlines or repetitive validation needs.ValidIranPostalCode, ValidCarNumber), critical for international products or localized markets.ValidCreditCard, ValidIban, ValidJwt), reducing risk of non-compliance or security vulnerabilities.ValidIPAddressIPV4, ValidDomain).Avoid If:
required, email, date). Overhead of adding a dependency may not be justified.Consider If:
"This package lets us ship validation features faster and with fewer bugs. For example, adding support for credit card validation or regional postal codes—common pain points in global products—can now be implemented in hours instead of days. It also reduces compliance risks by ensuring we validate sensitive data (like IBANs or JWTs) correctly out of the box. The MIT license and active maintenance mean we’re not locked into a proprietary solution, and the cost of adoption (a single Composer dependency) is minimal compared to the time saved. Think of it as ‘validation as a service’ for Laravel."
*"Laravel-Validate gives us a library of 24+ pre-built validation rules for edge cases that Laravel doesn’t cover natively (e.g., Bitcoin addresses, IMEI numbers, or Jalali dates). It supports localization for multilingual apps and integrates seamlessly with Laravel’s existing validation system. For teams, this means:
Use it for forms, APIs, or anywhere you need robust validation beyond Laravel’s defaults. Avoid it if your validation needs are trivial or highly custom."
*"This package helps us balance speed and quality. If we’re building features that require validation for things like:
How can I help you explore Laravel packages today?