gatepay/credit-card

A credit card validator and generator for PHP

Maintainers

Package info

github.com/TrayDigita/GatePay-CreditCard

pkg:composer/gatepay/credit-card

Fund package maintenance!

arrayiterator

www.paypal.me/aufa

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

1.0.0 2026-04-03 15:37 UTC

This package is auto-updated.

Last update: 2026-04-03 15:39:04 UTC


README

PHP CI codecov License: MIT PHP Version

Zero Dependency Credit Card (And Debit Card) Checker, based on Luhn Algorithm.

Installation

composer require "gatepay/credit-card"

Usage

For implementation please refer HOW TO guide.

Requirements

php 8.1 or higher is required to use this library.

Credit / Debit Card Brands

The brand source IIN (Issuer Identification Number) data is based on Wikipedia IIN.

By default, supported brands (factories) are:

License

MIT License - Use it, modify it, ship it.

Stop fighting your payment gateway. Start shipping features.

Built with ❤️ for developers who have better things to do than debug payment integrations.