2017 © Pedro Peláez
 

symfony-bundle parameters-editor

Symfony 2 bundle to edit parameters.yml symfony file

image

renus/parameters-editor

Symfony 2 bundle to edit parameters.yml symfony file

  • Tuesday, September 27, 2016
  • by renus
  • Repository
  • 1 Watchers
  • 1 Stars
  • 313 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 6 Versions
  • 5 % Grown

The README.md

parameters-editor

Symfony 2 bundle to edit parameters.yml symfony 2 or symfony 3 file, (*1)

To use RenusParametersEditorBundle in your project add it via composer, (*2)

Installation

installation

  1. Add this bundle to your project with composer:
composer.phar require renus/parameters-editor:1.0.x-dev
  1. Register the bundle
<?php
// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new \Renus\ParametersEditorBundle\RenusParametersEditorBundle(),
    );
    // ...
}

#configuration 

##application twitter

first you must create an twitter application  on https://apps.twitter.com/ ,and create a token (read permission)


##parameters

### 1.config file
you can configure the bundle parameters in app/config/config.yml, the  parameters can be added like this :

```yml
# app/config/config.yml
renus_parameters_editor:
    all_parameters: false 
    default_keyword: editable
  • all_parameters: it's a boolean (default false) when it is true, you can see all the parameters in parameters.yml file else you see only the parameters who are prefixed by the "keyword" (default: editable, ex: editable.email)., (*3)

  • default_keyword: the keyword who prefix the paramters who can be edit (default: editable), (*4)

2. routing file

# app/config/routing.yml
renus_parameters_editor:
    resource: "@RenusParametersEditorBundle/Resources/config/routing.yml"
    prefix:   /administration/config/editor/

You must protect this url with your firewall, (*5)

Usage

twig usage:

just add this render command in your twig template :, (*6)

{% render(path('renus_parameters_editor_homepage')) %}

The Versions

27/09 2016

dev-master

9999999-dev

Symfony 2 bundle to edit parameters.yml symfony file

  Sources   Download

MIT

by Renaud Mioque

symfony 2 parameters parameters.yml editor config edit

27/09 2016

1.2.2

1.2.2.0

Symfony 2 bundle to edit parameters.yml symfony file

  Sources   Download

MIT

by Renaud Mioque

symfony 2 parameters parameters.yml editor config edit

27/09 2016

1.2.1

1.2.1.0

Symfony 2 bundle to edit parameters.yml symfony file

  Sources   Download

MIT

by Renaud Mioque

symfony 2 parameters parameters.yml editor config edit

24/08 2016

1.2

1.2.0.0

Symfony 2 bundle to edit parameters.yml symfony file

  Sources   Download

MIT

by Renaud Mioque

symfony 2 parameters parameters.yml editor config edit

22/08 2016

1.1

1.1.0.0

Symfony 2 bundle to edit parameters.yml symfony file

  Sources   Download

MIT

by Renaud Mioque

symfony 2 parameters parameters.yml editor config edit

21/08 2016

1.0

1.0.0.0

Symfony 2 bundle to edit parameters.yml symfony file

  Sources   Download

MIT

by Renaud Mioque

symfony 2 parameters parameters.yml editor config edit