Determine the brand of a credit card number. Supports American Express (AM), Discover (DS), Diners Club (DC), Mastercard (MC) and VISA (VI). Allows you to dynamically limit the accepted card types. For example, if your business only accepts Mastercard and Visa you can limit the valid cards to those types.
See test modules for examples.
This project is licensed under the BSD 3-clause "New" or "Revised" license - see the LICENSE.md file for details.