NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2643 most downloaded on Packagist
Validate credit card number, expiration date, cvc
Latest stable
1.12.3
Last release 1 months ago
11 Oct 2026
Ships fairly regularly
a new release about every 6 months
Some releases are documented
notes for 13 of 25 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
25 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
fix: fail validation instead of throwing TypeError on non-string input by @zigzagdev in https://github.com/laravel-validation-rules/credit-card/pull/6
TypeError on non-string input by @zigzagdev in https://github.com/laravel-validation-rules/credit-card/pull/66Full Changelog: https://github.com/laravel-validation-rules/credit-card/compare/1.12.2...1.12.3
fix: stop rejecting valid expiration dates that Carbon::parse() cannot read by @zigzagdev in https://github.com/laravel-validation-rules/credit-card/p
Carbon::parse() cannot read by @zigzagdev in https://github.com/laravel-validation-rules/credit-card/pull/65Full Changelog: https://github.com/laravel-validation-rules/credit-card/compare/1.12.1...1.12.2
Your coding agent can read these notes before it upgrades. Set up the MCP server →
fix: reject non-digit CVC values by @zigzagdev in https://github.com/laravel-validation-rules/credit-card/pull/63
Full Changelog: https://github.com/laravel-validation-rules/credit-card/compare/1.12.0...1.12.1
fix: month overflow in expiration date by @eslym in https://github.com/laravel-validation-rules/credit-card/pull/61
Full Changelog: https://github.com/laravel-validation-rules/credit-card/compare/1.11.0...1.12.0
Laravel 13.x Compatibility by @laravel-shift in https://github.com/laravel-validation-rules/credit-card/pull/62
Full Changelog: https://github.com/laravel-validation-rules/credit-card/compare/1.10.0...1.11.0
card elo by @dinhooliveira in https://github.com/laravel-validation-rules/credit-card/pull/48
Full Changelog: https://github.com/laravel-validation-rules/credit-card/compare/1.9.0...1.10.0
Laravel 11.x Compatibility by @laravel-shift in https://github.com/laravel-validation-rules/credit-card/pull/55
Full Changelog: https://github.com/laravel-validation-rules/credit-card/compare/1.8.0...1.9.0
Laravel 10.x Compatibility by @laravel-shift in https://github.com/laravel-validation-rules/credit-card/pull/51
Full Changelog: https://github.com/laravel-validation-rules/credit-card/compare/1.7.0...1.8.0
Support Laravel 9 by @punyflash in https://github.com/laravel-validation-rules/credit-card/pull/47
Full Changelog: https://github.com/laravel-validation-rules/credit-card/compare/1.6.0...1.7.0
Nothing published for this version
Allow null value for card_number
Allow null value for card_number (#37)
* Remove type hint from card_number parameters
* Add null value to bad card number test
* fix test data
* remove trailing whitespace
Nothing published for this version
Nothing published for this version
- Add Troy card (#28) @faytekin
Nothing published for this version
Fixes #17 Card number should be numeric. Do strip non-numeric characters from card number, allow only spaces
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Allow two digit representation of a year in year validator
Allow two digit representation of a year in year validator
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.