laravel-validation-rules/credit-card
Laravel validation rules for credit cards: validate card numbers with Luhn, detect major brands, and check expiration dates and CVV codes. Drop-in rules for form requests and validators, with clear error messages and support for common card types.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| rap2hpoutre/laravel-credit-card-validator | 0.86 | Laravel validator rule for credit card numbers that checks card validity and detects the brand (Visa, Mastercard, Amex, and more). Drop it into validation rules to verify cards with Luhn checks and type detection. | 21 | — | 13 | — | 1 | 0.9 | — | MIT | 6 years ago | |
| divineomega/laravel-password-exposed-validation-rule | 0.86 | A Laravel validation rule that checks passwords against known data breaches via Have I Been Pwned, helping block exposed or compromised credentials during registration and password changes. Easy to add to form requests and validators. | 90 | — | 43 | — | 0 | 16.7 | — | LGPL-3.0 | 3 months ago | |
| sander-van-hooft/laravel-invoicable | 0.85 | — | 146 | 148 | 36 | 26 | 4 | 5.2 | 1.7 | MIT | 5 years ago | |
| payment/saferpay | 0.85 | Laravel/PHP integration for the Saferpay payment gateway, designed to simplify adding card and online payments to your application. It wraps common transaction and checkout workflows, helping reduce boilerplate when connecting your app to Saferpay’s payment APIs. | 18 | — | 17 | — | 1 | 0.4 | — | MIT | 10 years ago |
|
| pingpong/validator | 0.85 | Pingpong Validator extends Laravel’s built-in validation with reusable custom rules and a cleaner way to organize form validation logic, helping keep rule definitions and error messages maintainable in Laravel applications. | 4 | 5 | 2 | 0 | 0 | 0.1 | — | BSD-3-Clause | — | |
| laravel-validation-rules/us-state | 0.85 | Validate US state input in Laravel with ready-made rules for state names, abbreviations, and codes. Catch invalid or misspelled states before they reach your database, keeping addresses and forms clean with simple, reusable validation. | 16 | — | 5 | — | 1 | 0.7 | — | Apache-2.0 | 1 year ago | |
| spiral/validator | 0.85 | Spiral Validator is a flexible validation library for PHP and the Spiral Framework. It offers rule-based checkers, nested array and object validation, custom messages, and attribute-driven constraints, making it easy to validate incoming request data cleanly. | 4 | 4 | 3 | 105K | 1 | 21.4 | 62.9 | MIT | 2 months ago | |
| joepc74/laravel-spanish-validator | 0.85 | Laravel package that provides Spanish-language validation messages for Laravel’s validator, helping you localize form errors quickly. Drop in, configure the locale, and use standard Laravel validation rules with Spanish responses. | 0 | 0 | 0 | 2 | 0 | 0.0 | 6.6 | MIT | — | |
| illuminatech/validation-composite | 0.85 | Illuminatech Validation Composite lets Laravel developers build custom validation rules by composing existing rules into one reusable rule. Define nested rules and messages, keep validation logic modular, and use the result like any standard Laravel validation rule. | 180 | — | 6 | — | 0 | 1.1 | — | NOASSERTION | — | |
| scafera/file | 0.84 | Scafera File is a Laravel package for handling file uploads and storage with a simple, consistent API. It helps manage validation, disk configuration, and file lifecycle tasks so you can add reliable file management to your app quickly. | 0 | — | 0 | — | 0 | 9.2 | — | MIT | 6 months ago | |
| marvinlabs/laravel-luhn | 0.84 | A Laravel package that adds Luhn algorithm validation for credit card numbers, IMEI codes, and other checksum-verified identifiers. It provides a ready-to-use validation rule and helper methods for quick integration into forms, APIs, and custom validation workflows. | 108 | — | 11 | — | 0 | 10.8 | — | MIT | 6 months ago | |
| jlorente/laravel-credit-cards | 0.84 | Laravel Credit Cards is a Laravel package that adds credit card validation rules, brand detection, and helper utilities to your app. Validate card numbers, identify Visa, Mastercard, Amex and other brands, and format or obfuscate numbers with framework-native tools. | 7 | — | 3 | — | 0 | 0.4 | — | BSD-3-Clause | 3 years ago | |
| draw/validator | 0.84 | PHP validation library providing a fluent API to define rules, validate arrays/inputs, and collect errors. Lightweight and framework-agnostic, suitable for Laravel or standalone apps. | 0 | 0 | 0 | 80 | 0 | 0.0 | 26.4 | MIT | — | |
| axlon/laravel-postal-code-validation | 0.84 | Laravel validation rules for postal codes, powered by Google's libaddressinput. Validate against one or more ISO 3166-1 alpha-2 countries, or conditionally with other fields using the postal_code and postal_code_with rules. Simple, fluent integration. | 391 | 390 | 31 | 117K | 1 | 21.4 | 39.0 | MIT | 2 months ago | |
| xmlvalid/xmlvalid-laravel | 0.84 | A Laravel integration for XML validation that provides validation rules, a facade, and configuration helpers for checking XML documents against XSD schemas. It simplifies adding schema-aware XML checks to uploads, APIs, and form requests in Laravel applications. | 1 | — | 0 | — | 0 | 19.5 | — | MIT | 2 weeks ago | |
| jlorente/php-credit-cards | 0.83 | A PHP package for validating credit card numbers and detecting card brands using length checks, Luhn algorithm, and issuer patterns. Includes Laravel validation support, making it easy to reject invalid payment details and identify Visa, Mastercard, Amex, and more. | 45 | — | 14 | — | 0 | 0.7 | — | MIT | 2 years ago |
|
| doublethreedigital/simple-commerce | 0.83 | Simple Commerce is a flexible, Laravel-based e-commerce addon for Statamic. Manage products, carts, orders, and payments from your content files, with support for multiple gateways and easy customization. | 163 | — | 40 | — | 0 | 21.4 | — | NOASSERTION | 1 month ago | |
| theriddleofenigma/laravel-model-validation | 0.83 | Declare validation rules directly on your Eloquent models and have them run automatically on the events you choose, such as saving, creating, or updating. Invalid saves throw Laravel's ValidationException, so no form requests or repeated validator calls are needed. | 33 | 34 | 5 | 2K | 0 | 17.0 | 26.6 | MIT | 3 months ago | |
| inacho/php-credit-card-validator | 0.83 | A lightweight PHP package for validating credit card details. It checks card numbers with the Luhn algorithm, validates expiry dates and CVV codes, and supports common card types, making payment form validation easy in PHP or Laravel apps. | 209 | 221 | 104 | 14K | 7 | 7.9 | 32.6 | MIT | 11 years ago | |
| laravelwebdev/numeric | 0.82 | LaravelWebDev Numeric adds convenient number helpers to Laravel: format, parse, and validate numeric values with a clean, framework-friendly API. Lightweight and easy to install, it keeps common numeric tasks readable and consistent across your app. | 0 | 0 | 0 | 1 | 0 | 1.3 | 7.2 | — | 1 year ago |
How can I help you explore Laravel packages today?