Configuration

June 10, 2026 · View on GitHub

All configuration lives in config/adminlte.php. After running php artisan adminlte:install the file is published to your application's config/adminlte.php, where you can edit any of the keys below.

Every key documented here reflects the actual published config file. Defaults are the values shipped with the package.


Title & Branding

KeyDefaultDescription
title'AdminLTE 4'Default page title used when no @section('title') is set.
title_prefix''String prepended to every page title.
title_postfix''String appended to every page title.
KeyDefaultDescription
logo'<b>Admin</b>LTE'Brand text shown in the sidebar header (accepts HTML).
logo_img'vendor/adminlte/img/AdminLTELogo.png'Path to the brand logo image.
logo_img_class'brand-image opacity-75 shadow'CSS classes applied to the logo image.
logo_img_alt'AdminLTE Logo'alt text for the logo image.

Security note: logo is rendered unescaped ({!! !!}) so it can hold markup like <b>Admin</b>LTE. Only put trusted, hardcoded markup here — never user-supplied or database-driven content.

KeyDefaultDescription
auth_logo.enabledfalseShow a logo on the auth (login/register) pages.
auth_logo.img.path'vendor/adminlte/img/AdminLTELogo.png'Path to the auth-page logo image.
auth_logo.img.alt'Auth Logo'alt text for the auth logo.
auth_logo.img.class''CSS classes for the auth logo image.
auth_logo.img.width50Auth logo width in pixels.
auth_logo.img.height50Auth logo height in pixels.

Favicon

KeyDefaultDescription
use_ico_onlyfalseUse only a favicon.ico instead of the full favicon set.
use_full_faviconfalseEmit the complete favicon link set (apple-touch, sizes, manifest, etc.).

Google Fonts

KeyDefaultDescription
google_fonts.allowedtrueLoad Source Sans 3 from Google Fonts. Set false to self-host or skip.

Layout Toggles

Body-level switches that map directly to AdminLTE 4 body classes. A value of null means "leave the class off / inherit default behavior".

KeyDefaultBody classDescription
layout_topnavnull.layout-top-navRender a top-navigation layout (no sidebar).
layout_boxednull.layout-boxedConstrain the layout to a boxed, centered width.
layout_fixed_sidebartrue.layout-fixedKeep the sidebar fixed while content scrolls.
layout_fixed_navbartrue.fixed-headerKeep the top navbar fixed at the top.
layout_fixed_footernull.fixed-footerKeep the footer fixed at the bottom.
layout_dark_modenullForce dark mode. null respects the system / user toggle.
layout_rtlfalseEnable right-to-left (RTL) layout.

Custom Body / Element Classes

KeyDefaultDescription
classes_body''Extra classes on <body>.
classes_brand''Extra classes on the brand/logo link.
classes_brand_text'fw-light'Extra classes on the brand text.
classes_content_wrapper''Extra classes on the content wrapper.
classes_content_header''Extra classes on the content header.
classes_content''Extra classes on the main content area.
classes_sidebar'bg-body-secondary shadow'Extra classes on the sidebar element.
classes_sidebar_nav''Extra classes on the sidebar <nav>.
classes_topnav'navbar-expand bg-body'Extra classes on the top navbar.
classes_topnav_nav'navbar'Extra classes on the top navbar <nav>.
classes_topnav_container'container-fluid'Container class for the top navbar.

KeyDefaultDescription
sidebar_breakpoint'lg'Breakpoint at which the sidebar expands (sidebar-expand-{breakpoint}).
sidebar_minitrueEnable the collapsible mini sidebar (.sidebar-mini).
sidebar_collapsefalseStart with the sidebar collapsed.
sidebar_collapse_auto_sizefalseAuto-size the collapsed sidebar.
sidebar_scrollbar_theme'os-theme-light'OverlayScrollbars theme for the sidebar.
sidebar_scrollbar_auto_hide'leave'When to auto-hide the sidebar scrollbar (leave, never, etc.).
sidebar_theme'dark'Sidebar color theme: 'dark' or 'light' (uses data-bs-theme).
sidebar_docs_url'https://adminlte.io/themes/v4/docs/introduction.html'URL for the "View documentation" CTA button at the bottom of the sidebar. Set false to hide it.

Color Mode

KeyDefaultDescription
color_mode_toggletrueShow the Light / Dark / Auto color-mode dropdown in the topbar.

Related: layout_dark_mode (Layout section) and sidebar_theme (Sidebar section) also affect appearance.


User Menu (Topbar Dropdown)

KeyDefaultDescription
usermenu_enabledtrueShow the user dropdown menu in the topbar.
usermenu_headerfalseShow a colored header block inside the user dropdown.
usermenu_header_class'bg-primary'Background class for the user dropdown header.
usermenu_imagefalseShow the user's avatar in the dropdown.
usermenu_descfalseShow a description/subtitle under the user's name.
usermenu_profile_urlfalseURL for the dropdown's "Profile" link (false to hide).

KeyDefaultDescription
footer_leftCopyright string with AdminLTE.io linkHTML shown on the left side of the footer.
footer_right'Anything you want'HTML shown on the right side of the footer.
preloaderfalseShow a full-page preloader on load.

Security note: footer_left / footer_right are rendered unescaped ({!! !!}) so they can hold links and markup. Only put trusted, hardcoded markup here — never user-supplied or database-driven content. | control_sidebar | false | Enable the right-hand control sidebar panel. | | control_sidebar_theme | 'dark' | Theme for the control sidebar ('dark' or 'light'). |


Search / Command Palette

The package does not expose a dedicated top-level search config block. A search box is instead added as a menu item of type navbar-search, normalized by SearchFilter:

'menu' => [
    [
        'type'        => 'navbar-search',
        'method'      => 'get',      // defaults to 'get'
        'placeholder' => 'Search',   // defaults to 'Search'
        'url'         => 'search',    // defaults to '#'
        'topnav_right' => true,       // place it in the right topbar
    ],
],

See menu.md for the full menu item reference.


Demo / Showcase Pages

KeyDefaultDescription
demotrueWhen true, registers the bundled showcase routes (Dashboard v2/v3, Widgets, UI Elements, Forms, Tables, Layout Options, Theme Generator, auth variants, error pages). Set false to skip registering these routes in production.
demo_middleware['web', 'auth']Middleware applied to the demo routes when demo is enabled.

Plugins

Optional JavaScript libraries integrated with AdminLTE 4. Each entry is disabled by default; enable only the plugins you use to avoid loading unnecessary assets. Assets are injected via the @pluginStyles and @pluginScripts Blade directives, and are loaded lazily when a component requires them.

Each plugin supports enabled (bool), css (string path, optional), and js (string path or array of paths).

Pluginenabledcssjs
flatpickrfalsevendor/flatpickr/flatpickr.min.cssvendor/flatpickr/flatpickr.min.js
tom_selectfalsevendor/tom-select/tom-select.bootstrap5.min.cssvendor/tom-select/tom-select.complete.min.js
tabulatorfalsevendor/tabulator-tables/tabulator.min.cssvendor/tabulator-tables/tabulator.min.js
quillfalsevendor/quill/quill.snow.cssvendor/quill/quill.min.js
apexchartsfalsevendor/apexcharts/apexcharts.min.js
jsvectormapfalsevendor/jsvectormap/jsvectormap.min.cssvendor/jsvectormap/jsvectormap.min.js + vendor/jsvectormap/maps/world.js
fullcalendarfalsevendor/fullcalendar/index.global.min.js
sortablejsfalsevendor/sortablejs/sortablejs.min.js

jsvectormap lists two JS files: the library first, then the world-map data (which registers the 'world' map).


The filters array lists the filter classes applied to every menu item before rendering, in order. Each class implements ColorlibHQ\AdminLte\Menu\Filters\FilterInterface. You can add your own filters to this array.

OrderFilterPurpose
1GateFilter::classRemoves items the current user is not authorized to see (can).
2HrefFilter::classResolves the final href from route or url.
3ActiveFilter::classMarks the item active when it matches the current request.
4SearchFilter::classNormalizes navbar-search items (method, placeholder, url).

See menu.md for details on the filter pipeline.


The menu key holds the sidebar (and optional top-nav) menu definition as an array of item arrays. Because the menu is large and has its own item format (headers, links, treeviews, badges, gates, etc.), it is documented separately in menu.md.


Translations / Locale

This package does not define a custom locale or fallback key in config/adminlte.php. It uses Laravel's standard localization:

  • Translation strings live in resources/lang/{en,de,es}/ and are accessed with __('adminlte.key').
  • The active and fallback locales are controlled by your application's config/app.php (locale, fallback_locale) — not by this package.
  • RTL rendering is toggled via the layout_rtl layout key (see the Layout Toggles section).