2017 © Pedro Peláez
 

symfony-bundle galileo-setting-bundle

Symfony Framework bundle responsible for adding simple configuration possiblities persisted in external storage mechanims

image

galileo/galileo-setting-bundle

Symfony Framework bundle responsible for adding simple configuration possiblities persisted in external storage mechanims

  • Thursday, October 12, 2017
  • by galileo
  • Repository
  • 2 Watchers
  • 0 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

SensioLabsInsight Scrutinizer Code Quality Build Status Code Coverage Latest Stable Version Latest Unstable Version License, (*1)

GalileoSettingBundle

With this repository we will try to fill the gap of simple configuration and settings functionality handled by external storage mechanism., (*2)

Comparision to CraueConfigBundle

This bundle will add you some additional possibilities to handle your settings, and also is esier to use without exception handling in our application., (*3)

FUnctionality GalileoSettingBundle CraueSettingBundle
Get values without exception :white_check_mark: :x:
Settings unique for all sections :x: :white_check_mark:
Settings unique within section :white_check_mark: :x:
GUI panel to manage settings :x: :white_check_mark:
Set settings default values :white_check_mark: :x:
Events exposed for customize actions :white_check_mark: :x:
Change setting value :white_check_mark: :white_check_mark:
Established create function :white_check_mark: :x:

Craue documentation:, (*4)

https://github.com/craue/CraueConfigBundle, (*5)

Basic usage:

Simple get:, (*6)

$service('galileo.setting.setting')->get('our_settinng');

Get with default value:, (*7)

$service('galileo.setting.setting')->get('email_address', 'hello@galileoprime.com');

Get users within sections, you can use them for example for user specific settings:, (*8)

$service('galileo.setting.setting')->section('userId:{userId}')->get('email_address', 'hello@galileoprime.com');

Dispatched events

Events you can listen to

Event name Event class Implemented
galileo.setting.not_existing_setting_queried NotExistingSettingQueriedEvent :x:
galileo.setting.setting_queried SettingQueriedEvent :x:
galileo.setting.setting_created SettingCreatedEvent :x:
galileo.setting.setting_changed SettingChangedEvent :x:
galileo.setting.setting_deleted SettingDeletedEvent :x:

Getter events

There are two different events that are called after you try to get some setting value., (*9)

The first one will be dispatched after you ask for setting that is not registered in any storage system., (*10)

You can listen for it with kernel.listener with event value galileo.setting.not_existing_setting_queried, (*11)

class GalileoSettingNoteExistingSettingQueried

And the second one will be dispatched after you ask for setting that already exist in our storage system, (*12)

The name you can listen to is galileo.setting.setting_queried, (*13)

Setter events

The Versions

12/10 2017

dev-master

9999999-dev

Symfony Framework bundle responsible for adding simple configuration possiblities persisted in external storage mechanims

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kamil Ronewicz

11/04 2017

dev-improve-tests

dev-improve-tests

Symfony Framework bundle responsible for adding simple configuration possiblities persisted in external storage mechanims

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kamil Ronewicz

06/04 2017

1.0.3

1.0.3.0

Symfony Framework bundle responsible for adding simple configuration possiblities persisted in external storage mechanims

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kamil Ronewicz

06/04 2017

dev-fix-configuration-for-scrutinizer-test-coverage

dev-fix-configuration-for-scrutinizer-test-coverage

Symfony Framework bundle responsible for adding simple configuration possiblities persisted in external storage mechanims

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kamil Ronewicz

27/03 2017

1.0.2

1.0.2.0

Symfony Framework bundle responsible for adding simple configuration possiblities persisted in external storage mechanims

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kamil Ronewicz

27/03 2017

1.0.1

1.0.1.0

Symfony Framework bundle responsible for adding simple configuration possiblities persisted in external storage mechanims

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kamil Ronewicz

27/03 2017

1.0.0

1.0.0.0

Symfony Framework bundle responsible for adding simple configuration possiblities persisted in external storage mechanims

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kamil Ronewicz

20/03 2017

1.0.0-RC1

1.0.0.0-RC1

Symfony Framework bundle responsible for adding simple configuration possiblities persisted in external storage mechanims

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kamil Ronewicz

14/03 2017

dev-add-doctrine-entity-support-for-symfony-framework

dev-add-doctrine-entity-support-for-symfony-framework

Symfony Framework bundle responsible for adding simple configuration possiblities persisted in external storage mechanims

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kamil Ronewicz