# Getting started (laravel-rust-credit-card)

> Install the adapter to add card number, security code, and expiration checks to a Laravel for Rust request.

- Package: laravel-rust-credit-card (Laravel for Rust, alpha), crates: `laravel-rust-credit-card`, `laravel-rust-credit-card-core`
- Maintenance: active; Latest release: 0.1.0 (2026-12-04); Framework: laravel-rust 0.2.x; MSRV: Rust 1.99 or later; Licence: MIT
- Links: [Repository](https://github.com/bowerbird-si/laravel-rust-credit-card), [crates.io](https://crates.io/crates/laravel-rust-credit-card/0.1.0), [docs.rs](https://docs.rs/laravel-rust-credit-card/0.1.0), [Changelog](https://oss.bowerbird.si/credit-card/docs/changelog/), [Contributing](https://github.com/bowerbird-si/laravel-rust-credit-card/blob/aa74b5cf59bf07f77714c9f308a7a47bb62633c4/CONTRIBUTING.md), [Security policy](https://github.com/bowerbird-si/laravel-rust-credit-card/blob/aa74b5cf59bf07f77714c9f308a7a47bb62633c4/SECURITY.md)
- Based on: [laravel-validation-rules/credit-card](https://github.com/laravel-validation-rules/credit-card): The PHP validation rules whose behaviour this package independently implements, following version 1.12.3.
- PHP parity: full (30 covered, 12 diverged, 0 planned of 42 abilities; 830 fixtures; follows laravel-validation-rules/credit-card 1.12.3; verified 2026-12-04)
- Community package, not affiliated with Laravel.
- HTML version: https://oss.bowerbird.si/credit-card/docs/getting-started/
- Source: https://github.com/bowerbird-si/laravel-rust-credit-card/blob/aa74b5cf59bf07f77714c9f308a7a47bb62633c4/docs/getting-started.md

Install the adapter to add card number, security code, and expiration checks to a Laravel for Rust request.

```toml
[dependencies]
laravel-rust = { version = "0.2", default-features = false }
laravel-rust-credit-card = "0.1"
```

Add the [validation rules](https://oss.bowerbird.si/credit-card/docs/rules/) to your request. For validation outside a Laravel application,
use the [framework-free core](https://oss.bowerbird.si/credit-card/docs/core/).
