Top Level :: Validate

Package Information: Validate

Show All Changelogs
» Version » Information
0.8.1Download

Release date: 2007-12-12 19:20 UTC
Release state: beta

Changelog:

* Fix Bug #12658: New lines at end of file create output [davidc]

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
  • PEAR Package: Date (optional)
0.8.0Download

Release date: 2007-12-11 04:37 UTC
Release state: beta

Changelog:

* Fix Bug #2662: Invalid email addresses are validated [dufuz]
* Fix Bug #2936: Typo in sample_multiple.php [dufuz]
* Fix Bug #4068: errant "return true;" in Validate_US::phoneNumber [dufuz]
* Fix Bug #5390: XML Package Error [dufuz]
* Fix Bug #7531: Email-checks need to be more RFC-compliant [amir]
* Fix Bug #7648: VALIDATE_EALPHA does not include the Ã… character [amir]
* Fix Bug #7864: uris rejected if subdomain contains underscores [amir]
* Fix Bug #8442: Undefined variable "return" [amir]
* Fix Bug #8629: eMail validation fails [amir]
* Fix Bug #8768: Valid URL's are marked invalid [amir]
* Fix Bug #8839: defect [amir]
* Fix Bug #8851: date-validation allows letters in time. [amir]
* Fix Bug #8853: E-Mail validation allows space before TLD [amir]
* Fix Bug #9156: Missing characters in validation sequence [amir]
* Fix Bug #9385: Missing characters in validation sequence [amir]
* Fix Bug #9386: Missing punctuation mark (hyphen) in VALIDATE_NAME [amir]
* Fix Bug #10044: email validation bug [davidc]
* Fix Bug #10167: ISSN/ISBN validation is broken by _checkControlNumber [dufuz]
* Fix Bug #10844: Validate::multiple() breaks by consolidating single field array [toggg]
* Fix Bug #11073: date() %d validates \d{1,2} as correct [amir]
* Fix Bug #11592: Email validation not working properly [davidc]
* Fix Bug #12452: EALPHA_LOWER is missing a ß [thesaur]
* Implement Feature #11244: documentation [davidc]
* Implement Feature #8073: a@a is valid email [amir]

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
  • PEAR Package: Date (optional)
0.7.0Download

Release date: 2006-11-17 16:51 UTC
Release state: beta

Changelog:

- string():
* New chars in VALIDATE_EALPHA_LOWER and UPPER
- date():
* RFC822 date-time format compliant

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
  • PEAR Package: Date (optional)
0.6.5Download

Release date: 2006-10-05 06:03 UTC
Release state: beta

Changelog:

- __stringToUtf7():
* #8442, Preventing a Notice
- email():
* #8629, hostnames starting with numbers are valid because of their popularity
* #8853, E-Mail validation allows space before TLD.
- date():
* #8851, date-validation allows letters in time.

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Date (optional)
0.6.4Download

Release date: 2006-07-31 17:46 UTC
Release state: beta

Changelog:

- string():
* #7648, Adding a new character to VALIDATE_EALPHA
- email():
* #8073, a@a is a valid email address just in RFC restricted mode
- email():
* #7531, utf-7 encoding
- __stringToUtf7():
* new method added to do care about utf-7

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Date (optional)
0.6.3Download

Release date: 2006-04-20 21:46 UTC
Release state: beta

Changelog:

- email():
* #6930, accepts options as an array to confirm to the Validate standard
previous boolean $check_domain still accepted for backwards compatibility
* #7176, introduces an experimental option "use_rfc822"
which switch to a full RFC822 new checker
* unit test enhanced and completed
- class_exists call in mulitple() now passes false to the autoload param
- uri():
* #6181, Accept URI terminating with a /
* use !empty() instead of isset()
* minus in the top domain as http://example.co-m is invalid
* Double slashes are accepted in the path part (requested by bjori)
As a consequence, only URIs with full authority can be valid, no relative URI
* documentation header completed : usage notes , options and "strict" parameter
* unit tests completed and updated , use php.net instead of unavailable example.org

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Date (optional)
0.6.2Download

Release date: 2005-11-04 17:02 UTC
Release state: beta

Changelog:

- Change licence to the new BSD License
(see http://www.opensource.org/licenses/bsd-license.php)
- The path part in uri cannot contain two slash characters.
- Refactored email() regexp, hardened hostname check (taken from uri()) (bug #5804)
- Empty quoted email recipient is not valid, must at least contain a non blank char
- Use & as delimiter as £ is problematic if the script is saved utf8
- Enhanced uri.phpt and email.phpt tests

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Date (optional)
0.6.1Download

Release date: 2005-09-13 23:43 UTC
Release state: beta

Changelog:

- Bug #5390 XML Package Error
- uri was enchanced to fully comply with RFC2396 (Bertrand) (forgotten in last release changelog)

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Date (optional)
0.6.0Download

Release date: 2005-09-13 17:59 UTC
Release state: beta

Changelog:

- Move to Beta state
- Enhance again email validation and unit test it
- modulus methods fix if bcmath is not present

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Date (optional)
0.5.0Download

Release date: 2005-05-20 20:35 UTC
Release state: alpha

Changelog:

- Bug #2936, typo
- Bug #2879, Issn wrong validation
- Better email validation
- Request #997 validate:date minium and maximum accept Date objects (By Torsten Roehr)
- Request #4055 Making multiple() cope with new dir structure (By Torsten Roehr)
To use with Validate_Finance_CreditCard then do 'type' => 'Finance_CreditCard_number'
For Validate_US it would be 'type' => 'US_ssn'
This applies to all packages like that under Validate.
- unit testing for multiple (By Torsten Roehr)
- CS fixes
- Split country and finance classes and credit card functions into their own sub packages of Validate
- New lead/developer (Helgi)
- Few more none alpha chars added
- _check_control_number renamed to _checkControlNumber
_get_control_number renamed to _getControlNumber
_mult_weights renamed to _multWeights
- added email test
- Split these functions over to a new sub package called Validate_ISPN (International Standard Product Numbers)
* ISSN
* ISBN
* ISMN
* EAN8
* EAN13
* EAN14
* UCC12
* SSCC
- splited multiple() test in with (skipif not installed) or without card,

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: Date (optional)
0.4.1Download

Release date: 2004-03-17 00:58 UTC
Release state: alpha

Changelog:

- fixed issue when validating IBANs via a static call
- added missing test validate_UK.php to package.xml

Dependencies:
  • PHP Version: PHP 4.1.0 or newer
0.4.0Download

Release date: 2004-03-16 22:47 UTC
Release state: alpha

Changelog:

- pt_BR moved to ptBR required for multiple support(BC break)
- Add CH validation (Switzerland)
- added Euro banknotes IDs
- Improved UK postcodes validation
- Fixed allowed_scheme options in Validate::uri() (Torsten Roehr)
- Fixed optional arguments in Validate::number() (Torsten Roehr)

Dependencies:
  • PHP Version: PHP 4.1.0 or newer
0.3.0Download

Release date: 2003-12-16 21:46 UTC
Release state: alpha

Changelog:

- Added Finance Validations for Financial related datas
(S. Neufeind, Piotr Klaban)
- Add polish validation (Piotr Klaban)
- Add German validation (Stefen Neufeind)
- Add EAN-UCC validtatio (see http://www.ean-ucc.org) (Piotr Klaban)
- Add International Standard Serial Number (ISSN)
and Music Number(ISMN) (Piotr Klaban, David Grant)
- Drop Validate::url() in preferenc of Validate::uri() which is fully
RFC2396 compliant
- Move to PHP 3.0 license

0.2.0Download

Release date: 2003-06-15 19:56 UTC
Release state: alpha

Changelog:

pt_BR locale validate added (Silvano Girardi Junior):
- cep (Código de Endereçamento Postal, like postcode
in US and other languages)
- cpf (Cadastro de Pessoa Física)
- cnpj (Cadastro Nacional de Pessoa Jurídica)

0.1.2Download

Release date: 2003-05-15 14:43 UTC
Release state: alpha

Changelog:

Validate::number(); '- 124' number format fixed

0.1.1Download

Release date: 2003-03-12 06:30 UTC
Release state: alpha

Changelog:

Validate::date(); argument parsing fixed

0.1.0Download

Release date: 2003-02-18 06:55 UTC
Release state: alpha

Changelog:

***WARNING*** Interface has changed ***
- Fix the sources itself, the last release was broken
- Set a maximum of 2 arguments, one for the value itself
and one for the options, if more are needed, an array is used.
- Fix a weird behavior while using include inside a 'if',
never use an include|_once inside a 'if' (pierre)
- Update all functions to be callable from the multiple method (pierre)
- Fix a little bug in fr::rib
- Add an usage sample in docs for the multiple method

0.0.4Download

Release date: 2003-02-16 23:42 UTC
Release state: alpha

Changelog:

- Fix a string bug using 'format' argumenent (pierre)
- Add isbn check
- Add UK postalcode check (dams@php.net)
- Add siret/siren to FR (dams@php.net)
- Add rib to FR (pierre)
- Update all functions to be callable from the multiple method (pierre)

0.0.3Download

Release date: 2002-08-18 23:31 UTC
Release state: alpha

Changelog:

Initial package release

0.0.2Download

Release date: 2002-08-18 23:18 UTC
Release state: alpha

Changelog:

Initial package release

Dependencies:
  • PHP Version: 4.1.0 or newer