2017 © Pedro Peláez
 

symfony-bundle settings

Bundle for easy integrations default site settings

image

youshido/settings

Bundle for easy integrations default site settings

  • Thursday, July 30, 2015
  • by portey
  • Repository
  • 3 Watchers
  • 0 Stars
  • 163 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

Setting Bundle

Bundle used to set default parameters for everything, (*1)

Installation:

Import in your config.yml:

``` yaml twig: #..., (*2)

globals:
    defaults: @ysettings

### Import to admin structure.yml file: This config use only in pair with [YoushidoAdminBundle](https://github.com/Youshido/AdminBundle) ``` yaml imports: #... - { resource: ../../vendor/youshido/settings/Resources/config/admin/structure.settings.yml }

Use it:

Use in controller:

``` php $this->get('ysettings')->getParameter($key, $defaultValue);, (*3)


### Use in twig: ``` twig <title>{{ defaults.parameter(key) }}</title>

The Versions

30/07 2015

dev-master

9999999-dev https://github.com/Youshido/Setting

Bundle for easy integrations default site settings

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk
by Portey Vasil

settings bundle symfony

30/07 2015

1.0.0

1.0.0.0 https://github.com/Youshido/Setting

Bundle for easy integrations default site settings

  Sources   Download

MIT

The Requires

 

by Alexandr Viniychuk
by Portey Vasil

settings bundle symfony