Skip to content

MasterCard#

This validation rules checks if the posted input is a valid MasterCard number.

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

Class#

LaravelExtendedValidation\Rules\Payment\MasterCard

Valid examples are:

  • 5431 1111 1111 1111
  • 5123 4558 0630 8521

Constructor argument(s)#

none