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 &copy; 2026 My Company',
    'footer_right' => 'Version <b>1.0</b>',

    'menu' => [
        ['header' => 'MAIN'],
        ['text' => 'Dashboard', 'route' => 'dashboard', 'icon' => 'bi bi-speedometer'],
    ],
];

Title & branding

KeyDefaultPurpose
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.

KeyDefaultBody class
layout_topnavnull.layout-top-nav (no sidebar)
layout_boxednull.layout-boxed
layout_fixed_sidebartrue.layout-fixed
layout_fixed_navbartrue.fixed-header
layout_fixed_footernull.fixed-footer
layout_dark_modenullForce dark mode (null respects the toggle)
layout_rtlfalseRight-to-left layout

Sidebar & topbar

KeyDefaultPurpose
sidebar_breakpoint'lg'Breakpoint at which the sidebar expands.
sidebar_minitrueEnable the collapsible mini (icon-only) sidebar.
sidebar_collapsefalseStart 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_toggletrueShow the Light / Dark / Auto dropdown in the topbar.
usermenu_enabledtrueShow the user dropdown in the topbar.
control_sidebarfalseEnable the right-hand control sidebar panel.
preloaderfalseShow 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_middleware defaults to ['web', 'auth']. Set demo => false in production.
  • docs (true) serves the package docs inside your app at /docs; docs_middleware defaults 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