# PHP parity (laravel-rust-qrcode)

> See how the Rust port checks its payloads, QR module matrices, and rendering against the PHP release.

- Package: laravel-rust-qrcode (Laravel for Rust, alpha), crates: `laravel-rust-qrcode`, `laravel-rust-qrcode-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-qrcode), [crates.io](https://crates.io/crates/laravel-rust-qrcode/0.1.0), [docs.rs](https://docs.rs/laravel-rust-qrcode/0.1.0), [Changelog](https://oss.bowerbird.si/qrcode/docs/changelog/), [Contributing](https://github.com/bowerbird-si/laravel-rust-qrcode/blob/0d4061426c0e70f1d1e0fac79c65fe7f046a3dab/CONTRIBUTING.md), [Security policy](https://github.com/bowerbird-si/laravel-rust-qrcode/blob/0d4061426c0e70f1d1e0fac79c65fe7f046a3dab/SECURITY.md)
- Based on: [Simple QrCode](https://github.com/SimpleSoftwareIO/simple-qrcode): The QR code builder this package ports: formats, styling, logos, payload helpers and Laravel integration, following version 4.2.0.
- PHP parity: core (13 covered, 19 diverged, 18 planned of 50 abilities; 83 fixtures; follows simplesoftwareio/simple-qrcode 4.2.0; verified 2026-12-04)
- Community package, not affiliated with Laravel.
- HTML version: https://oss.bowerbird.si/qrcode/docs/parity/
- Source: https://github.com/bowerbird-si/laravel-rust-qrcode/blob/0d4061426c0e70f1d1e0fac79c65fe7f046a3dab/docs/parity.md

See how the Rust port checks its payloads, QR module matrices, and rendering against the PHP release.

The reference is [simplesoftwareio/simple-qrcode 4.2.0](https://github.com/SimpleSoftwareIO/simple-qrcode/tree/4.2.0)
and BaconQrCode 2.0.8. The PHP generator runs in a pinned image and records the relevant versions with
its fixtures. Rust and Go use the same PHP fixtures.

Encoding tests check the decoded bytes and mode, correction level, ECI, version, and mask. Where the
encoded bytes, mode, ECI, and error-correction level agree, tests force PHP's version and mask and compare every module. Renderer tests
check dimensions, module placement, colors, and alpha. Image serialization and anti-aliasing can
differ between implementations.

The [coverage matrix](https://github.com/bowerbird-si/laravel-rust-qrcode/blob/main/parity.toml) links
the tests for covered abilities and explains intentional differences. Gradients, module styles,
finder options, and merged logos are planned.
