hacfi/parameter-update-bundle

Symfony Parameter Update Bundle

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

pkg:composer/hacfi/parameter-update-bundle

dev-master 2015-04-21 12:32 UTC

This package is not auto-updated.

Last update: 2025-10-11 23:01:10 UTC


README

Install

composer require "hacfi/parameter-update-bundle":"dev-master"

Configuration

hacfi_parameter_update:
    parameters_file: "%kernel.root_dir%/config/parameters.yml"
    values:
        some_parameter1:
            service: some_service_name:method1
            parameters_file: "%kernel.root_dir%/config/local.yml"
            parameters_key: parameters
        some_parameter2:
            service: [other_service_name, method2]
            property_path: "[nested][some_bucketname2]"
        some_parameter3:
            service: [[some_service_name, test], ["argument 1", "argument 2"]]

Usage

Configure the values which should be generated via a service. Process them via

app/console hacfi:update_parameter

or individually

app/console hacfi:update_parameter some_parameter1