Configuration
All configuration lives in config/adminlte.php, published by php artisan adminlte:install (or vendor:publish --tag=adminlte-config). Every key is documented inline in the file; the most-used ones are summarised below.
A real example
<?php
return [
'title' => 'My Admin',
'title_prefix' => '',
'title_postfix' => ' | My App',
'logo' => '<b>My</b>Admin',
'logo_img' => 'vendor/adminlte/img/AdminLTELogo.png',
'logo_img_alt' => 'My Admin Logo',
// Layout toggles (null = leave the body class off)
'layout_fixed_sidebar' => true, // .layout-fixed
'layout_fixed_navbar' => true, // .fixed-header
'layout_fixed_footer' => null, // .fixed-footer
'layout_rtl' => false,
// Sidebar
'sidebar_mini' => true,
'sidebar_collapse' => false,
'sidebar_breakpoint' => 'lg', // sidebar-expand-{breakpoint}
'sidebar_theme' => 'dark', // 'dark' | 'light'
'sidebar_docs_url' => '/docs',
'color_mode_toggle' => true,
'usermenu_enabled' => true,
'footer_left' => 'Copyright © 2026 My Company',
'footer_right' => 'Version <b>1.0</b>',
'menu' => [
['header' => 'MAIN'],
['text' => 'Dashboard', 'route' => 'dashboard', 'icon' => 'bi bi-speedometer'],
],
];
Title & branding
| Key | Default | Purpose |
|---|---|---|
title | 'AdminLTE 4' | Default page title when no @section('title') is set. |
title_prefix / title_postfix | '' | Strings prepended / appended to every page title. |
logo | '<b>Admin</b>LTE' | Sidebar brand text — rendered as raw HTML ({!! !!}). |
logo_img | 'vendor/adminlte/img/AdminLTELogo.png' | Brand logo image path. |
logo_img_class / logo_img_alt | 'brand-image …' / 'AdminLTE Logo' | Logo image classes and alt text. |
Layout toggles
Body-level switches that map to AdminLTE 4 body classes. A value of null leaves the class off.
| Key | Default | Body class |
|---|---|---|
layout_topnav | null | .layout-top-nav (no sidebar) |
layout_boxed | null | .layout-boxed |
layout_fixed_sidebar | true | .layout-fixed |
layout_fixed_navbar | true | .fixed-header |
layout_fixed_footer | null | .fixed-footer |
layout_dark_mode | null | Force dark mode (null respects the toggle) |
layout_rtl | false | Right-to-left layout |
Sidebar & topbar
| Key | Default | Purpose |
|---|---|---|
sidebar_breakpoint | 'lg' | Breakpoint at which the sidebar expands. |
sidebar_mini | true | Enable the collapsible mini (icon-only) sidebar. |
sidebar_collapse | false | Start the sidebar collapsed. |
sidebar_theme | 'dark' | Sidebar color theme: 'dark' or 'light'. |
sidebar_docs_url | '/docs' | "View documentation" CTA URL; set false to hide it. |
color_mode_toggle | true | Show the Light / Dark / Auto dropdown in the topbar. |
usermenu_enabled | true | Show the user dropdown in the topbar. |
control_sidebar | false | Enable the right-hand control sidebar panel. |
preloader | false | Show a full-page preloader on load. |
Footer, demo & in-app docs
footer_left/footer_right— rendered as raw HTML; only put trusted, hardcoded markup here.demo(true) registers the bundled showcase routes;demo_middlewaredefaults to['web', 'auth']. Setdemo => falsein production.docs(true) serves the package docs inside your app at/docs;docs_middlewaredefaults to['web'].
Plugins, filters & menu
The plugins, filters and menu arrays are documented on their own pages: see Charts & Plugins and Menu & Sidebar.
logo, footer_left and footer_right are output unescaped ({!! !!}) so they can hold markup like <b> for the two-tone brand effect. Never feed them user-supplied or database-driven content.
AdminLTE 4 · Laravel port
Edit on GitHub