modera/backend-config-utils-bundle
Bundle provides tools that simplify contributing your own configuration sections to 'Backend/Tools/Settings' section.
Maintainers
Package info
github.com/modera/ModeraBackendConfigUtilsBundle
Type:symfony-bundle
pkg:composer/modera/backend-config-utils-bundle
Requires
- php: >=7.4
- modera/dynamically-configurable-mjr-bundle: ^5.0
- modera/server-crud-bundle: ^5.0
Requires (Dev)
- phake/phake: ^4.0
- phpunit/phpunit: ^6.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT 5f170ede8a64a465247a37ee20169ab6e2823cbb
- Sergei Lissovski <sergei.lissovski.woop@modera.org>
- Sergei Vizel <sergei.vizel.woop@modera.org>
README
Bundle provides tools that simplify contributing your own configuration sections to "Backend/Tools/Settings" section.
Installation
Step 1: Download the Bundle
composer require modera/backend-config-utils-bundle:5.x-dev
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
This bundle should be automatically enabled by Flex.
In case you don't use Flex, you'll need to manually enable the bundle by
adding the following line in the config/bundles.php file of your project:
<?php // config/bundles.php return [ // ... Modera\BackendConfigUtilsBundle\ModeraBackendConfigUtilsBundle::class => ['all' => true], ];
Documentation
For a example how to contribute a settings page using tools provided by this bundle please take a look at SettingsSectionsProvider from ModeraBackendGoogleAnalyticsConfigBundle, this is how it is going to look in UI:
👁 Settings page from ModeraBackendGoogleAnalyticsConfigBundle
For more details regarding available configuration properties for in-place editor fields available for configuration grid take a look at PropertiesGrid.js.
Licensing
This bundle is under the MIT license. See the complete license in the bundle: Resources/meta/LICENSE
