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
Theme Bundle

Theme Bundle Laravel Package

foreverglory/theme-bundle

Foreverglory's Theme Bundle brings structured theme management to Laravel: register themes, switch the active one at runtime, and let views, assets, and configuration resolve from the selected theme so multiple looks can share a single application codebase.

View on GitHub
Deep Wiki
Context7

Symfony ThemeBundle

Frequently asked questions about Theme Bundle
How do I install foreverglory/theme-bundle in a Laravel application?
Install it with Composer by running composer require foreverglory/theme-bundle. Then follow the repository README for any Laravel service provider registration, configuration publishing, or theme directory setup. The provided overview does not list exact post-install commands, so verify those steps in the package documentation before wiring it into your app.
What does foreverglory/theme-bundle actually do for theme management?
It provides a lightweight theme management layer that organizes templates, assets, and theme-specific configuration behind a consistent API. The package centralizes theme resolution so your application can switch looks without duplicating controller or business logic. It is designed as a simple foundation for custom theme integrations rather than a full CMS-style theming system.
Can I switch the active theme at runtime in Laravel?
Yes. The package is described as supporting runtime theme switching, so you can change the active theme during a request and let views, assets, and configuration resolve from that selection. This is useful for previews, per-tenant looks, or feature-flagging a redesign. Check the README for the exact API used to set the active theme in your application.
Does foreverglory/theme-bundle support multiple themes at the same time?
The package supports multiple themes with isolated templates and assets, and it provides centralized theme resolution and configuration. In practice this usually means several themes can be registered while one is active for a given request. The overview does not describe per-request multi-theme rendering, so confirm the intended behavior in the documentation.
Which Laravel versions does foreverglory/theme-bundle support?
The provided context does not specify Laravel version constraints for this package. Check the repository composer.json for the required PHP and illuminate or laravel/framework version ranges before installing. That file is the authoritative source for compatibility, especially if you are evaluating Laravel 10, Laravel 11, or newer releases.
How are views, assets, and configuration resolved from the selected theme?
The package centralizes theme resolution so views, assets, and theme-specific configuration resolve from the active theme. Each theme is intended to remain self-contained with its own templates and assets, which keeps switching simple and avoids mixing files between looks. Exact path conventions and configuration keys are not included in the provided overview, so refer to the package README for the concrete resolution rules.
Is foreverglory/theme-bundle suitable for production use?
It is presented as a lightweight theme management layer and a simple foundation for custom integrations, which can be appropriate for production when your requirements are modest. The provided context does not include test coverage, release history, or stability guarantees, so review the repository tags, issue tracker, and dependency constraints before relying on it. For critical applications, evaluate whether its focused API covers your theming needs or whether you need a more established package.
How do I test theme switching in a Laravel application?
A practical approach is to set the active theme through the package API in your test, then assert that views and assets resolve from the expected theme directory. Because the provided overview does not list exact method names or configuration keys, base the test calls on the README examples. Keep theme fixtures self-contained so each test can switch themes without leaking state between cases.
What are the alternatives to foreverglory/theme-bundle for Laravel themes?
Alternatives include other Laravel theme packages and custom view finder or asset resolution implementations. This package is positioned as a lightweight layer for registering themes, switching the active theme, and keeping templates, assets, and configuration isolated. Compare alternatives on Laravel version support, maintenance activity, view override behavior, and whether they support runtime switching like this bundle.
How do I register a custom theme or build a custom theme integration?
The package offers a simple foundation for custom theme integrations, so you register themes and let centralized resolution handle views, assets, and configuration. Keep each theme self-contained with its own templates, assets, and configuration to preserve isolation and make switching predictable. The provided overview does not include the exact registration API or configuration format, so follow the repository README for the specific steps.
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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons