Skip to content

Mac address#

This validation rule checks if the posted MAC address is a valid MAC address.

Valid examples are:

  • 7a:7e:53:39:d8:4e
  • 7a-7e-53-39-d8-4e

When you instantiate MacAddress, you have option to set the separator sign in the MAC address.

Class#

LaravelExtendedValidation\Rules\Network\MacAddress

Constructor argument(s)#

$separatorSign: ':'