docs/validators/Email.md
Email()Validates an email address.
v::email()->assert('[email protected]');
// Validation passes successfully
Email::TEMPLATE_STANDARD| Mode | Template |
|---|---|
default | {{subject}} must be an email address |
inverted | {{subject}} must not be an email address |
| Placeholder | Description |
|---|---|
subject | The validated input or the custom validator name (if specified). |
| Version | Description |
|---|---|
| 3.0.0 | Templates changed |
| 2.3.0 | Use "egulias/emailvalidator" version 4.0 |
| 0.9.0 | Use "egulias/emailvalidator" for email validation |
| 0.3.9 | Created |