Skip to content

Visa#

This validation rules checks if the posted input is a valid Visa credit card number. Both 13 and 16 characters long card numbers are accepted.

Please note, this is no way a check if the number is actually given out by Visa or has sufficient funds!

Class#

LaravelExtendedValidation\Rules\Payment\Visa

Valid examples are:

  • 4111 1111 1111 1111
  • 4242 4242 4242 4242

Constructor argument(s)#

none