PHPackages                             jacek-9999/credit-card-generator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. jacek-9999/credit-card-generator

ActiveLibrary[Payment Processing](/categories/payments)

jacek-9999/credit-card-generator
================================

Generating valid credit card numbers

1.0.4(10y ago)11063MITPHPPHP &gt;=5.3.0

Since Feb 12Pushed 10y ago1 watchersCompare

[ Source](https://github.com/jacek-9999/credit-card-generator)[ Packagist](https://packagist.org/packages/jacek-9999/credit-card-generator)[ Docs](https://github.com/jacek-9999/creditCardGenerator)[ RSS](/packages/jacek-9999-credit-card-generator/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)DependenciesVersions (7)Used By (0)

creditCardGenerator
===================

[](#creditcardgenerator)

This class uses Luhn algoritm for generating valid credit cards number.

[https://en.wikipedia.org/wiki/Luhn\_algorithm](https://en.wikipedia.org/wiki/Luhn_algorithm)

You can choose bin and this class will find correct numbers and return it in the array.

[https://en.wikipedia.org/wiki/Bank\_card\_number](https://en.wikipedia.org/wiki/Bank_card_number)

Package is available by composer:

composer require jacek-9999/credit-card-generator

Usage example's:

1.

2.

require('creditCardGenerator.php');

$genCC = new creditCardGenerator();

$genCC-&gt;setBin(123);

$output = $genCC-&gt;getCC();

print\_r($output);

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

5

Last Release

3784d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6619169?v=4)[Jacek](/maintainers/jacek-9999)[@jacek-9999](https://github.com/jacek-9999)

---

Top Contributors

[![jacek-9999](https://avatars.githubusercontent.com/u/6619169?v=4)](https://github.com/jacek-9999 "jacek-9999 (15 commits)")

---

Tags

paymentscardluhn

### Embed Badge

![Health badge](/badges/jacek-9999-credit-card-generator/health.svg)

```
[![Health](https://phpackages.com/badges/jacek-9999-credit-card-generator/health.svg)](https://phpackages.com/packages/jacek-9999-credit-card-generator)
```

###  Alternatives

[srmklive/paypal

PayPal REST API client for Laravel and standalone PHP.

1.1k4.0M29](/packages/srmklive-paypal)[amzn/amazon-pay-sdk-php

Amazon Pay SDK (PHP)

20412.2M3](/packages/amzn-amazon-pay-sdk-php)[unicodeveloper/laravel-paystack

A Laravel Package for Paystack

6491.0M11](/packages/unicodeveloper-laravel-paystack)[ignited/laravel-omnipay

Integrates Omnipay with Laravel and provides an easy configuration.

5151.1M12](/packages/ignited-laravel-omnipay)[recurly/recurly-client

The PHP client library for the Recurly API

1736.5M8](/packages/recurly-recurly-client)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.3M9](/packages/chargebee-chargebee-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
