Weave Code
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 Laravel Package

sylius/theme-bundle

Sylius Theme Bundle brings theme management to Symfony apps. Define and switch themes, organize templates and assets per theme, and build storefronts with clean overrides. Part of the Sylius ecosystem, with docs included and MIT licensed.

View on GitHub
Deep Wiki
Context7

Installation

composer require sylius/theme-bundle

Adding required bundles to the kernel

You need to enable the bundle inside the kernel, usually at the end of bundle list.

# config/bundles.php

return [
        \Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
        \Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],

        // Other bundles...
        \Sylius\Bundle\ThemeBundle\SyliusThemeBundle::class => ['all' => true],
];

Please register the bundle after FrameworkBundle. This is important as we override default templating, translation and assets logic.

Configuring bundle


In order to store your themes metadata in the filesystem, add the following configuration:

sylius_theme:
    sources:
        filesystem: ~

Go back to the documentation's index

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.
althinect/enum-permission
andydefer/laravel-actions
aimeos/prisma
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor