laravellegends/pt-br-validator
Brazilian Portuguese validation rules for Laravel, adding CPF, CNPJ, CEP, phone, and other pt-BR formats as native validators so you can validate local documents and data with simple, familiar rule strings.
Consider adoption when:
illuminate/* versions before committing.Validator integration (rule strings in Form Requests) rather than a separate service layer.Look elsewhere or build in-house when:
Release-specific caution (13.0.0): A major version bump with no human-readable changelog is a yellow flag. Treat it as potentially breaking until verified: diff the release, check for dropped PHP/Laravel support, renamed or removed rule aliases, and changed validation semantics. Pin to 12.2.x in production until the upgrade is tested in staging against real-world CPF/CNPJ fixtures.
For executives: We can ship Brazilian document validation in days rather than weeks by integrating a small, mature, widely-used open-source Laravel package instead of building and maintaining it ourselves. It improves data quality in registration, checkout, and billing, and reduces downstream failures with payment and invoicing partners. Cost is near zero in license terms; the real cost is a periodic upgrade cycle. The package just published a major version (13.0.0) without a written changelog, so we recommend staying on the current pinned version until we complete a short, low-risk upgrade verification.
For engineering:
^12.2) in production today.Recommendation: Approve adoption of the currently proven version now; schedule a timeboxed (≈0.5–1 day) evaluation of 13.0.0 before the next dependency refresh, not mid-sprint.
How can I help you explore Laravel packages today?