oxblade-adminlte 0.1.0

Rust port of jeroennoten/laravel-adminlte: AdminLTE dashboard layouts, menus and plugins for Laravel for Rust.
Documentation

oxblade-adminlte

CI status: alpha crates.io docs.rs PHP parity: core MSRV 1.99 Licence: MIT

Rust port of jeroennoten/laravel-adminlte: AdminLTE 4 dashboard layouts, menus and plugins for Laravel for Rust, rendered with oxblade.

Version 0.1 ships the page shell (navbar, sidebar, content and footer slots), layout classes, a request-local menu builder, core asset and plugin resolution, and six authentication forms. Your application supplies routing, authorization, translation, the CSRF token and the AdminLTE files themselves. The crate does not download assets.

Tests use PHP-generated fixtures and Rust integration assertions. The layout fixtures compare ordered attributes, classes, and structural facts rather than the whole HTML document. Most of the PHP package is still planned; the parity table and parity.toml list what is covered, what differs and what is not ported yet.

Status: alpha. The first release covers the tested core listed below.

Quick start

[dependencies]
oxblade-adminlte = "0.1.0"
use oxblade_adminlte::Layout;

let view = Layout::default().view("en");
assert!(view.body_classes().contains("layout-fixed"));

The dashboard example registers the Laravel and Blade providers and renders the embedded page. Supply your own AdminLTE CSS and JavaScript URLs. The crate does not download assets.

PHP parity

Follows jeroennoten/laravel-adminlte v4.1.0 (commit a6b0e37d01ec).

Parity level Abilities Covered Diverged Planned PHP fixtures Last verified
core 237 30 18 189 30 2026-12-05

Fixtures are generated by PHP itself: PHP 8.4, almasaeed2010/adminlte v4.10.4, jeroennoten/laravel-adminlte v4.1.0, laravel/framework v13.45.0, orchestra/testbench-core v11.6.2.

Every ability is listed in parity.toml, with the tests that cover it or the reason it differs.

Differences from PHP

  • Shell, not every widget. The page layout covers the shell. Search, fullscreen, the theme switcher, the automatic user menu and logout, the right sidebar, preloaders and iframe mode are planned.

  • Explicit view data. The title, brand, logo, slots, asset URLs and the optional CSRF meta tag come from the data you pass to the view, not from global config and helpers.

  • Color mode without storage. The light/dark/auto script follows the configured mode or the browser preference. It does not remember a choice and there is no persistence endpoint.

  • Menu bindings instead of the container. Routes, URLs, authorization and translation come from a MenuBindings value you build for each request, in place of the BuildingMenu event and Laravel's container. A restricted entry is hidden when no authorization answer is available.

  • Nested navbar menus. Inner groups use in-place disclosure controls instead of PHP’s floating nested dropdowns.

  • Regular expressions. regex: active patterns use Rust's regex crate and match the path only. PCRE features it lacks, such as look-around and backreferences, are not supported.

  • Plugin switches. A page turns a plugin on or off with PluginActivation, keyed by the plugin's name, instead of a Blade section.

  • Stricter URLs. Menu links accept HTTP(S) URLs, rooted paths and fragments. Resolved styles and scripts accept HTTPS or rooted paths only. Protocol-relative presets become HTTPS. Invalid menu links fall back to #; invalid asset references are omitted.

  • Auth forms only. The auth views render forms. Routes, controllers, validation and the lock screen stay with your application.

  • Inline menu icons. Use registered oxblade-icons names in place of PHP's icon class list. Bootstrap Icons and Font Awesome Free are available as separate sets.

Installation and configuration

See the guide.

Compatibility

Crate Framework MSRV
oxblade-adminlte laravel-rust 0.2.0 1.99

23 tests · 30 PHP fixtures · 1 fuzz target (counted by kit readme)

Contributing

Issues and pull requests are welcome, of any size: bug reports, failing test cases, docs fixes, new features. Contributions written with AI coding agents are welcome too; please say what you checked. Run scripts/kit ci before opening a pull request, and see CONTRIBUTING.md. If you aren't sure, open an issue first.

Credits

Based on jeroennoten/laravel-adminlte. Its licence notice is in NOTICE.

Status and licence

Maintenance status: active. MIT licensed, see LICENSE.