Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Adminlte Symfony

Adminlte Symfony Laravel Package

colorlibhq/adminlte-symfony

Official AdminLTE 4 integration for Symfony 8.1+ and PHP 8.4+, featuring Bootstrap 5.3, AssetMapper, Twig components, a config-driven sidebar, SSR-safe dark mode, and an optional EasyAdmin theme. Build polished, responsive admin panels fast with an accessible UI that is easy to customize.

View on GitHub
Deep Wiki
Context7

AdminLTE 4 for Symfony is the official integration of the AdminLTE admin template, bringing Bootstrap 5.3, AssetMapper, and Twig Components to Symfony 8.1+ / PHP 8.4+ applications. It ships a config-driven sidebar menu, SSR-safe dark mode, and an optional EasyAdmin theme, so you can scaffold a polished dashboard without hand-writing layout markup.

  • Config-driven sidebar menu built with reusable Twig components
  • SSR-safe dark mode with no flash of the wrong theme
  • AssetMapper-ready Bootstrap 5.3 assets out of the box
  • Optional EasyAdmin theme for instant admin CRUD styling
  • Live demo plus complete, hosted documentation
Frequently asked questions about Adminlte Symfony
Is colorlibhq/adminlte-symfony a Laravel package?
No. It is a Symfony bundle that provides the AdminLTE 4 theme layer for Symfony applications, and it ships no Laravel service provider, Blade views, config/adminlte.php file, or Livewire/Inertia support. If you are building a Laravel admin panel, look at the separate adminlte-laravel package instead. Treating this package as Laravel-compatible would require an unmaintained adapter layer.
What PHP and Symfony versions does AdminLTE 4 for Symfony require?
The bundle requires PHP 8.4 or newer and Symfony 8.1 or newer, which in practice means a greenfield Symfony app or one already tracking the newest major. Those version floors are aggressive, so confirm your target application can meet them before adopting. Running it on Symfony 6 or 7 is not supported.
How do I install AdminLTE 4 in a Symfony application?
Install it with composer require colorlibhq/adminlte-symfony, then register the bundle in your bundles configuration. After that you import the layout Twig component in your templates and populate the sidebar menu through the bundle configuration. A live demo and full documentation are linked from the repository.
Does this bundle work with Laravel Blade, Livewire or Inertia?
No. All layout primitives are Twig Components, so there is no Blade equivalent and no Livewire or Inertia integration. Porting the Twig components to Blade and replicating the AssetMapper contract would be significant custom work that produces a fork you then own. For Laravel projects the correct choice is a Laravel-native admin package.
Do I need Node, npm or Webpack Encore to use this package?
No. AdminLTE 4 for Symfony delivers Bootstrap 5.3 assets through Symfony's AssetMapper and importmap pipeline, so there is no Node build step. That is elegant, but it is also a hard fork in the road: applications still on Webpack Encore must migrate their asset delivery first, because the bundle assumes importmap-based assets.
How do I configure the sidebar menu in AdminLTE 4 for Symfony?
The sidebar is config-driven: you define a menu tree in the bundle configuration and the Twig components render it, including nested items and active-state highlighting. This is the highest-leverage feature of the package and the easiest one to demo. Keeping the menu in configuration rather than templates also makes it straightforward to move or vendor later.
Is dark mode supported and does it work with server-side rendering?
Yes. The bundle ships an SSR-safe dark mode toggle, so the correct theme is applied during rendering rather than flashing the wrong theme on first paint. The toggle is driven by Bootstrap 5.3's color mode support. Persistence is handled client-side in the standard way.
Can I use this bundle as an EasyAdmin theme?
Yes, an EasyAdmin theme is included and it is explicitly optional, which keeps the layout layer decoupled from the CRUD layer. You can adopt AdminLTE for a hand-rolled Twig admin without touching EasyAdmin, or theme an existing EasyAdmin 4 backend. Converting a large existing EasyAdmin admin in place is not recommended; apply the theme to a single new route first and compare.
Is colorlibhq/adminlte-symfony production-ready and how is it maintained?
The package is technically clean, but adoption signal is effectively zero: around four stars, no dependents and no third-party production references, so official here means official to Colorlib rather than battle-tested in the Symfony community. It also pins to Symfony 8.1, meaning your upgrade cadence depends on both Symfony's release train and this package's responsiveness, and a lagging release can block security patches. Verify CI status, test coverage and whether a named maintainer publishes a deprecation policy before committing; keep a fallback plan to vendor the Twig components and Bootstrap assets and own them.
What are the alternatives to AdminLTE 4 for Symfony in a Laravel project?
For Laravel, use adminlte-laravel if you specifically want the AdminLTE look, or a Laravel-native admin stack such as Filament or Laravel Nova for a maintained dashboard layer. For Symfony, this bundle is the official AdminLTE 4 integration and pairs well with EasyAdmin or custom Twig templates. The decision should be driven by which framework your application actually runs, not by template quality alone.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel