Download the PHP package galileo/galileo-setting-bundle without Composer

On this page you can find all versions of the php package galileo/galileo-setting-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package galileo-setting-bundle

SensioLabsInsight Scrutinizer Code Quality Build Status Code Coverage Latest Stable Version Latest Unstable Version License

GalileoSettingBundle

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

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.

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:

https://github.com/craue/CraueConfigBundle

Basic usage:

Simple get:

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

Get with default value:

$service('galileo.setting.setting')->get('email_address', '[email protected]');

Get users within sections, you can use them for example for user specific settings:

$service('galileo.setting.setting')->section('userId:{userId}')->get('email_address', '[email protected]');

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.

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

You can listen for it with kernel.listener with event value galileo.setting.not_existing_setting_queried

class GalileoSettingNoteExistingSettingQueried

And the second one will be dispatched after you ask for setting that already exist in our storage system

The name you can listen to is galileo.setting.setting_queried

Setter events


All versions of galileo-setting-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.9
symfony/framework-bundle Version ^2.7 || ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package galileo/galileo-setting-bundle contains the following files

Loading the files please wait ...