Installation
Last updated
Was this helpful?
Last updated
Was this helpful?
The Sylius CMS Plugin provides essential content management capabilities (pages, blocks, sections) for Sylius-based applications.
Before installing the plugin, ensure that your project:
Uses Symfony Flex
Runs a supported Sylius 2.x version
Has yarn and Symfony Encore correctly configured
To allow Symfony to install community recipes (like the CMS plugin):
If prompted during plugin installation, accept the community recipe when asked.
This will install the plugin and apply the Flex recipe, which registers required services and configuration.
The CMS plugin uses trix
for rich text editing and swiper
for image galleries.
Run the following commands:
Then compile the frontend assets:
For production:
The plugin comes with database changes. Run:
For production:
Finally, clear the Symfony cache to ensure changes are applied:
You can now manage CMS content through the Sylius Admin Panel under the new "CMS" section.
For further customization or integration into your storefront, refer to the or reach out via the Sylius Community channels.