Home » Validate » Validate_ptBR
Validation class for Brazilian Portuguese
This package is unmaintained.
Download latest release 0.5.5 (archived versions might be outdated)
License: New BSD
Description
Package contains locale validation for Brazilian Portuguese such as:
* Postal Code
* CNPJ
* CPF
* Region (brazilian states)
* Phone Number
* Vehicle's plate
* PIS
Maintainers
- Silvano Girardi Jr. (silvano) — lead, active
- Marcelo Santos Araujo (msaraujo) — lead, active
- Igor Feghali (ifeghali) — lead, active
Dependencies
Required
- PHP (>= 4.2.0)
- PEAR Installer (>= 1.4.0b1)
Releases
- 0.5.5 (alpha, 2008-11-26)
Release notes
License: New BSD
- Fixed Bug #12783 (thanks to jhenrique)
- Fixed Bug #11823 phpcs/Coding Standards issues highlighted.
- Avoid two strlen calls on pis() - cosmetic changes
- PHP test updated
- add new method pis() - 0.5.4 (alpha, 2006-05-16)
Release notes
License: new bsd
- fix md5sum in the package
- 0.5.3 (alpha, 2006-04-28)
Release notes
License: new bsd
- fix bug #7474, related to cpf method
- postalcode with better regexp - 0.5.2 (alpha, 2005-12-29)
Release notes
License: new bsd
new methods:
- regions (brazilian states)
- phone number
- vehicle's plate - 0.5.1 (alpha, 2005-11-04)
Release notes
License: new bsd
- switch to the new bsd license
(see http://www.opensource.org/licenses/bsd-license.php) - 0.5.0 (alpha, 2005-05-20)
Release notes
License: new bsd
- split from validate into independent package
- cs fixes
- fix bug #3668, usage of $$foo were it should have been $foo
- bc break!
postalCode unified between countries (name wise), now all postcode validation funcs are named postalCode
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #3668 | Closed | Bug | 2005-03-02 | Undefined variable: 0 in Validate_ptBR::CNPJ() | |
| #6121 | Closed | Req | 2005-12-01 | [Patch]-Validate_ptBR | |
| #7474 | Closed | Bug | 0.5.2 | 2006-04-24 | Validação de CPF |
| #11823 | Closed | Bug | CVS | 2007-08-12 | phpcs/Coding Standards issues highlighted. |
| #12782 | Duplicate | Bug | CVS | 2007-12-27 | Validation error |
| #12783 | Closed | Bug | CVS | 2007-12-27 | Validation error |
| #14933 | Closed | Bug | CVS | 2008-10-31 | Unit tests fail |
| #18710 | Closed | Doc | 0.5.5 | 2011-08-04 | Broken link |