mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-31 07:01:54 +00:00
Update README with note on the BCMath extension
This commit is contained in:
parent
f52df87b56
commit
a7cb935ec5
@ -106,7 +106,7 @@ V::lang('ar');
|
|||||||
* `urlActive` - Valid URL with active DNS record
|
* `urlActive` - Valid URL with active DNS record
|
||||||
* `alpha` - Alphabetic characters only
|
* `alpha` - Alphabetic characters only
|
||||||
* `alphaNum` - Alphabetic and numeric characters only
|
* `alphaNum` - Alphabetic and numeric characters only
|
||||||
* `slug` - URL slug characters (a-z, 0-9, -, _)
|
* `slug` - URL slug characters (a-z, 0-9, -, \_)
|
||||||
* `regex` - Field matches given regex pattern
|
* `regex` - Field matches given regex pattern
|
||||||
* `date` - Field is a valid date
|
* `date` - Field is a valid date
|
||||||
* `dateFormat` - Field is a valid date in the given format
|
* `dateFormat` - Field is a valid date in the given format
|
||||||
@ -115,6 +115,11 @@ V::lang('ar');
|
|||||||
* `contains` - Field is a string and contains the given string
|
* `contains` - Field is a string and contains the given string
|
||||||
* `creditCard` - Field is a valid credit card number
|
* `creditCard` - Field is a valid credit card number
|
||||||
|
|
||||||
|
**NOTE**: If you are comparing floating-point numbers with min/max validators, you
|
||||||
|
should install the [BCMath](http://us3.php.net/manual/en/book.bc.php)
|
||||||
|
extension for greater accuracy and reliability. The extension is not required
|
||||||
|
for Valitron to work, but Valitron will use it if available, and it is highly
|
||||||
|
recommended.
|
||||||
|
|
||||||
## Credit Card Validation usage
|
## Credit Card Validation usage
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user