The source code was created to check the validity.
- Checking credit cards by Luhn algorithm
- Returns invalid cards in an array
- Identifies the companies that issue invalid credit cards and returns them in an array.
I wrote that code to verify credit cards on a website. Might be useful for you too.
MIT