This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Symfony 4 Configuration UI bundle

0.0.2 2019-07-15 10:39 UTC

This package is auto-updated.

Last update: 2021-11-15 15:52:12 UTC


Build Status codecov Infection MSI


$ composer require yaroslavche/config-ui-bundle

Add routes:

# config/routes/yaroslavche_config_ui.yaml
    resource: "@YaroslavcheConfigUIBundle/Resources/config/routes.xml"
    prefix: '/config'

And config*:

# config/packages/yaroslavche_config_ui.yaml
    name: true
    normalization: false
    validation: false
    defaultValue: true
    default: true
    required: true
    deprecationMessage: true
    merge: false
    allowEmptyValue: true
    nullEquivalent: false
    trueEquivalent: false
    falseEquivalent: false
    pathSeparator: false
    parent: false
    attributes: true
    performDeepMerging: false
    ignoreExtraKeys: false
    removeExtraKeys: false
    children: true
    prototype: true
    atLeastOne: true
    allowNewKeys: false
    key: false
    removeKeyItem: false
    addDefaults: false
    addDefaultChildren: false
    nodeBuilder: false
    normalizeKeys: false
    min: false
    max: false
    values: false
    type: true

* I suppose it will be default in future. definition_fields - private properties of NodeDefinition (depends on NodeDefinition class). Boolean: include in definitions array or not.

Look at:


const response = {
  "status": "success",
  "bundles": {
    // ...


const response = {
  "status": "success",
  "bundle": {
    "name": "FrameworkBundle",
    "namespace": "Symfony\\Bundle\\FrameworkBundle",
    "path": "\/vendor\/symfony\/framework-bundle",
    "definitions": {
      "secret": {
        "name": "secret",
        "defaultValue": null,
        "default": false,
        "required": false,
        "deprecationMessage": null,
        "allowEmptyValue": true,
        "attributes": [],
        "type": "scalar"
      // ...
    // ...

Dev tools

$ composer cscheck
$ composer csfix
$ composer phpstan
$ composer phpunit
$ composer infection
$ composer clover
$ composer bccheck