Download the PHP package patlabs/sulu-configuration-bundle without Composer
On this page you can find all versions of the php package patlabs/sulu-configuration-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download patlabs/sulu-configuration-bundle
More information about patlabs/sulu-configuration-bundle
Files in patlabs/sulu-configuration-bundle
Package sulu-configuration-bundle
Short Description A Sulu bundle for managing dynamic configuration settings through the admin interface with form-based configuration storage and retrieval
License MIT
Informations about the package sulu-configuration-bundle
SuluConfigurationBundle
SuluConfigurationBundle enables easy creation, management and use of custom configurations in Sulu CMS. It provides a flexible structure for defining and maintaining settings via the admin interface or programmatically via Symfony.
📦 Requirements
- Sulu CMS >= 2.6
🚀 Features
- Configuration management via the Sulu admin UI
- Support for all Sulu form fields
- Ability to group and structure settings
- Integration in Twig and controllers via simple service access
🛠️ Installation
Then register the bundle:
Add the admin routing configuration:
Add the following package configuration:
Create the configs folder: config/configs
In this folder, all desired configurations can be defined. To do this, simply create an XML that defines an Admin Form, as you already know. (https://docs.sulu.io/en/2.6/book/extend-admin.html#form-configuration)
Last but not least, you need to update the database schema:
🛠️ Configuration
To add a custom settings panel in the administration, simply create an XML in config/configs that defines an Admin Form, as you already know. (https://docs.sulu.io/en/2.6/book/extend-admin.html#form-configuration)
Also have a look at the example. (https://github.com/patrickpahlke03/SuluConfigurationBundle/tree/main/Resources/example)
🔤️ Admin UI
The bundle integrates seamlessly into the Sulu Admin Interface and allows:
- Editing of all defined configurations
- Validation of inputs
💡 Usage in Code
Or in Twig:
Made with ❤️ for Sulu Developers