respect-validation/docs/rules/MacAddress.md
Danilo Correa 907e24fb8f
Apply contribution guidelines to "MacAddress" rule
This commit will also replace the usage of "mac" to "MAC" since it is an
acronym.

Co-authored-by: Henrique Moody <henriquemoody@gmail.com>
2018-09-16 18:26:51 +02:00

23 lines
354 B
Markdown

# MacAddress
- `MacAddress()`
Validates whether the input is a valid MAC address.
```php
v::macAddress()->validate('00:11:22:33:44:55'); // true
v::macAddress()->validate('af-AA-22-33-44-55'); // true
```
## Changelog
Version | Description
--------|-------------
0.3.9 | Created
***
See also:
- [Domain](Domain.md)
- [Ip](Ip.md)
- [Tld](Tld.md)