# laravel-rust-format documentation

> Use the core in any Rust project. Use the adapter when you want the same formatting in a Laravel for Rust app or its MiniJinja views.

- Package: laravel-rust-format (Laravel for Rust, alpha), crates: `laravel-rust-format`, `laravel-rust-format-core`
- Maintenance: active; Latest release: 0.1.1 (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-format), [crates.io](https://crates.io/crates/laravel-rust-format/0.1.1), [docs.rs](https://docs.rs/laravel-rust-format/0.1.1), [Changelog](https://oss.bowerbird.si/format/docs/changelog/), [Contributing](https://github.com/bowerbird-si/laravel-rust-format/blob/16e2c1a95c60fb32c5ee2f37b7d58a9f72be23f7/CONTRIBUTING.md), [Security policy](https://github.com/bowerbird-si/laravel-rust-format/blob/16e2c1a95c60fb32c5ee2f37b7d58a9f72be23f7/SECURITY.md)
- Based on: [Laravel Str, Number and Pluralizer](https://github.com/laravel/framework): The behaviour of Illuminate\Support\Str, Number and Pluralizer, as typed Rust functions with English defaults.; [Carbon](https://github.com/briannesbitt/Carbon): The calendar, formats and relative-time translations, on Jiff with an explicit clock instant. The generated locale tables credit the authors of each language file.; [Doctrine Inflector](https://github.com/doctrine/inflector): English inflection rules, generated into Rust tables.; [Portable ASCII](https://github.com/voku/portable-ascii): Transliteration tables for Str::ascii and Str::slug, generated into Rust tables.; [League CommonMark](https://github.com/thephpleague/commonmark): Reference behaviour for Markdown in the PHP oracle; Comrak renders Markdown in Rust.; [Ramsey UUID](https://github.com/ramsey/uuid): Reference behaviour for identifiers in the PHP oracle; the core builds them in Rust.; [Symfony UID](https://github.com/symfony/uid): Reference behaviour for identifiers in the PHP oracle; the core builds them in Rust.
- PHP parity: core (465 covered, 4 diverged, 3 planned of 472 abilities; 133,206 fixtures; follows illuminate/support 13.39.0; verified 2026-12-04)
- Used in production across multiple projects.
- Community package, not affiliated with Laravel.
- HTML version: https://oss.bowerbird.si/format/docs/
- Source: https://github.com/bowerbird-si/laravel-rust-format/blob/16e2c1a95c60fb32c5ee2f37b7d58a9f72be23f7/docs/index.md

Use the core in any Rust project. Use the adapter when you want the same formatting in a Laravel for Rust app or its MiniJinja views.

| If you want to… | Read |
| --- | --- |
| Install a crate and format your first values | [Getting started](https://oss.bowerbird.si/format/docs/getting-started/) |
| Port PHP values, rounding, string operations, JSON and Blade JavaScript | [PHP functions](https://oss.bowerbird.si/format/docs/php-functions/) |
| Keep existing slugs, search and transforms, regex, Markdown and identifiers | [Strings](https://oss.bowerbird.si/format/docs/strings/) |
| Format localized amounts and spell out or parse English numbers | [Numbers](https://oss.bowerbird.si/format/docs/numbers/) |
| Parse dates and keep PHP patterns, calendar rules and localized relative times | [Dates](https://oss.bowerbird.si/format/docs/dates/) |
| Look up a template filter or function | [MiniJinja templates](https://oss.bowerbird.si/format/docs/templates/) |
| Register the provider or freeze the app clock | [Laravel integration](https://oss.bowerbird.si/format/docs/laravel-integration/) |
| Find the Rust and MiniJinja equivalents of a PHP call | [Migrating from PHP](https://oss.bowerbird.si/format/docs/migrating-from-php/) |
| Check runtime differences and fixture coverage | [Parity](https://oss.bowerbird.si/format/docs/parity/) |
| Get a quick answer | [FAQ](https://oss.bowerbird.si/format/docs/faq/) |

See [Contributing](https://github.com/bowerbird-si/laravel-rust-format/blob/main/CONTRIBUTING.md) to add a fixture or a helper.

Community package, not affiliated with Laravel.
