Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Parameterizer Bundle Laravel Package

elao/parameterizer-bundle

Symfony bundle integrating ElaoParameterizer to manage PHP parameters via a dat.GUI-based UI. Define parameter “patterns” programmatically, in YAML config, or as tagged services to tweak values and options (labels, choices) during development.

View on GitHub
Deep Wiki
Context7

ElaoParameterizerBundle

Latest Stable Version Total Downloads Latest Unstable Version License

Scrutinizer Code Quality

Description:

This bundle integrates ElaoParameterizer in your project, which is a clean and easy way to graphically handle php parameters using dat.GUI

Installation:

Add ElaoParameterizerBundle in your composer.json (you would better use it as a development requirement):

{
    "require-dev": {
        "elao/elao/parameterizer-bundle": "1.0.*"
    }
}

Now tell composer to download the bundle by running the command:

$ php composer.phar update elao/parameterizer

How to use it:

Have a look on ElaoParameterizer to understand Patterns/Parameters concepts and usages.

You can declare patterns :

Programatically

// Get service
$parameterizer = $this->get('elao_parameterizer');

$parameterizer
    ->create('foo')
        ->create('bar', 'value')
        ->create('baz', 456, array(
            'label'   => 'Baz',
            'choices' => array(123, 456, 789)
        ));

In config.yml

elao_parameterizer:
    patterns:
        foo:
            parameters:
                bar: value
                baz:
                    value: 456
                    options:
                        label:   Baz
                        choices: [123, 456, 789]

In services

<service id="foo.parameters"
     class="%elao_parameterizer.pattern.class%"
     factory-service="elao_parameterizer.factory"
     factory-method="createPattern"
>
    <tag name="elao_parameterizer.pattern" />
    <argument>foo</argument>
    <call method="create">
        <argument>bar</argument>
        <argument>value</argument>
    </call>
    <call method="create">
        <argument>baz</argument>
        <argument>456</argument>
        <argument type="collection">
            <argument key="label">Baz</argument>
            <argument key="choices" type="collection">
                <argument>123</argument>
                <argument>456</argument>
                <argument>789</argument>
            </argument>
        </argument>
    </call>
</service>
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky