Skip to content

IPv6#

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

Valid examples are:

  • 2001:0db8:85a3:0000:1319:8a2e:0370:7344
  • 2001:db8::1428:57ab
  • 2001:db8:::::1428:57ab
  • ::1

Class#

LaravelExtendedValidation\Rules\Network\IPv6

Constructor argument(s)#

none