{"id":24326535,"url":"https://github.com/galileo/galileosettingbundle","last_synced_at":"2026-04-25T09:04:08.676Z","repository":{"id":62508728,"uuid":"81665877","full_name":"galileo/GalileoSettingBundle","owner":"galileo","description":"With this repository we will try to fill the gap of simple configuration and settings functionality handled by external storage mechanism.","archived":false,"fork":false,"pushed_at":"2017-10-12T09:05:12.000Z","size":46,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-18T03:45:37.991Z","etag":null,"topics":["behat","configuration-management","phpspec","settings-storage","symfony-bundle"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/galileo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-11T16:35:57.000Z","updated_at":"2017-03-13T08:18:54.000Z","dependencies_parsed_at":"2022-11-02T13:00:44.745Z","dependency_job_id":null,"html_url":"https://github.com/galileo/GalileoSettingBundle","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galileo%2FGalileoSettingBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galileo%2FGalileoSettingBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galileo%2FGalileoSettingBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galileo%2FGalileoSettingBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/galileo","download_url":"https://codeload.github.com/galileo/GalileoSettingBundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242982358,"owners_count":20216584,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["behat","configuration-management","phpspec","settings-storage","symfony-bundle"],"created_at":"2025-01-17T21:12:25.443Z","updated_at":"2026-04-25T09:04:08.616Z","avatar_url":"https://github.com/galileo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![SensioLabsInsight](https://insight.sensiolabs.com/projects/b0f4ac5f-a7fa-443d-a9d5-4361e395c3aa/mini.png)](https://insight.sensiolabs.com/projects/b0f4ac5f-a7fa-443d-a9d5-4361e395c3aa)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/galileo/GalileoSettingBundle/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/galileo/GalileoSettingBundle/?branch=master)\n[![Build Status](https://scrutinizer-ci.com/g/galileo/GalileoSettingBundle/badges/build.png?b=master)](https://scrutinizer-ci.com/g/galileo/GalileoSettingBundle/build-status/master)\n[![Code Coverage](https://scrutinizer-ci.com/g/galileo/GalileoSettingBundle/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/galileo/GalileoSettingBundle/?branch=master)\n[![Latest Stable Version](https://poser.pugx.org/galileo/galileo-setting-bundle/v/stable)](https://packagist.org/packages/galileo/galileo-setting-bundle)\n[![Latest Unstable Version](https://poser.pugx.org/galileo/galileo-setting-bundle/v/unstable)](https://packagist.org/packages/galileo/galileo-setting-bundle)\n[![License](https://poser.pugx.org/galileo/galileo-setting-bundle/license)](https://packagist.org/packages/galileo/galileo-setting-bundle)\n\n# GalileoSettingBundle\n\nWith this repository we will try to fill the gap of simple configuration and settings functionality handled by external storage mechanism.\n\n## Comparision to CraueConfigBundle\n\nThis bundle will add you some additional possibilities to handle your settings, and also is esier to use without exception handling in our application.\n\n| FUnctionality                        | GalileoSettingBundle | CraueSettingBundle |\n| ---                                  | ---                  | ---                |\n| Get values without exception         | :white_check_mark:   | :x:                |\n| Settings unique for all sections     | :x:                  | :white_check_mark: |\n| Settings unique within section       | :white_check_mark:   | :x:                |\n| GUI panel to manage settings         | :x:                  | :white_check_mark: |\n| Set settings default values          | :white_check_mark:   | :x:                |\n| Events exposed for customize actions | :white_check_mark:   | :x:                |\n| Change setting value                 | :white_check_mark:   | :white_check_mark: |\n| Established create function          | :white_check_mark:   | :x:                |\n\nCraue documentation:\n\nhttps://github.com/craue/CraueConfigBundle\n\n## Basic usage:\n\nSimple get:\n~~~\n$service('galileo.setting.setting')-\u003eget('our_settinng');\n~~~\n\nGet with default value:\n\n~~~\n$service('galileo.setting.setting')-\u003eget('email_address', 'hello@galileoprime.com');\n~~~\n\nGet users within sections, you can use them for example for user specific settings:\n\n~~~\n$service('galileo.setting.setting')-\u003esection('userId:{userId}')-\u003eget('email_address', 'hello@galileoprime.com');\n~~~\n\n## Dispatched events\n\n### Events you can listen to\n\n| Event name                                     | Event class                    | Implemented |\n| ---                                            | ---                            | ---         |\n| `galileo.setting.not_existing_setting_queried` | NotExistingSettingQueriedEvent | :x:         |\n| `galileo.setting.setting_queried`              | SettingQueriedEvent            | :x:         |\n| `galileo.setting.setting_created`              | SettingCreatedEvent            | :x:         |\n| `galileo.setting.setting_changed`              | SettingChangedEvent            | :x:         |\n| `galileo.setting.setting_deleted`              | SettingDeletedEvent            | :x:         |\n\n### Getter events \n\nThere are two different events that are called after you try to get some setting value. \n\nThe first one will be dispatched after you ask for setting that is not registered in any storage system.\n\nYou can listen for it with kernel.listener with event value `galileo.setting.not_existing_setting_queried`\n\n~~~\nclass GalileoSettingNoteExistingSettingQueried\n~~~\n\nAnd the second one will be dispatched after you ask for setting that already exist in our storage system\n\nThe name you can listen to is `galileo.setting.setting_queried`\n\n### Setter events\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgalileo%2Fgalileosettingbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgalileo%2Fgalileosettingbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgalileo%2Fgalileosettingbundle/lists"}