# laravel-rust-ogm documentation

> Rust port of ruudvdd/ogm: generate, parse and validate Belgian structured payment references (OGM/VCS).

- Package: laravel-rust-ogm (Laravel for Rust, alpha), crates: `laravel-rust-ogm`
- 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-ogm), [crates.io](https://crates.io/crates/laravel-rust-ogm/0.1.0), [docs.rs](https://docs.rs/laravel-rust-ogm/0.1.0), [Changelog](https://oss.bowerbird.si/ogm/docs/changelog/), [Contributing](https://github.com/bowerbird-si/laravel-rust-ogm/blob/bf28d991039b0ea13ff1e66e4e57b32f8f82a805/CONTRIBUTING.md), [Security policy](https://github.com/bowerbird-si/laravel-rust-ogm/blob/bf28d991039b0ea13ff1e66e4e57b32f8f82a805/SECURITY.md)
- Based on: [ruudvdd/ogm](https://github.com/ruudvdd/ogm): The Belgian structured payment reference package this ports: the generator, the validator and the mod-97 check, following version 0.2.0.
- PHP parity: full (4 covered, 5 diverged, 0 planned of 9 abilities; 55 fixtures; follows ruudvdd/ogm 0.2.0; verified 2026-12-04)
- Community package, not affiliated with Laravel.
- HTML version: https://oss.bowerbird.si/ogm/docs/
- Source: https://github.com/bowerbird-si/laravel-rust-ogm/blob/bf28d991039b0ea13ff1e66e4e57b32f8f82a805/docs/index.md

Rust port of [ruudvdd/ogm](https://github.com/ruudvdd/ogm): generate, parse and validate Belgian structured payment references (OGM/VCS).

An OGM is 12 digits: a 10-digit base and its mod-97 check, usually written `+++090/9337/55493+++`. The
crate gives you an `Ogm` type that is always valid, generators with an optional prefix, and an `OgmRule`
for Laravel for Rust validation. The core works without Laravel for Rust.

| If you want to… | Read |
| --- | --- |
| Install the package, parse, generate and validate | [Getting started](https://oss.bowerbird.si/ogm/docs/getting-started/) |
| Find the Rust equivalent of a PHP call, and what behaves differently | [Migrating from PHP](https://oss.bowerbird.si/ogm/docs/migrating-from-php/) |

Community package, not affiliated with Laravel.
