ConfigServiceProvider icon indicating copy to clipboard operation
ConfigServiceProvider copied to clipboard

A config ServiceProvider for Silex with support for php, json and yaml.

Results 18 ConfigServiceProvider issues
Sort by recently updated
recently updated
newest added

Hi, I just added a way to load the config directly. I needed this to load in a Dependency Injection provider. Registering with the application in this case didn't allow...

Was wondering if it would make sense to automatically merge environment variables into the configuration so they would be available to use with the `"%variable%"` syntax. This should be quite...

this code avoids deprecated error message in current version.

…in YamlConfigDriver. This commit provides compatibility for Silex 1.3

I don't know, what has to be done and maybe this service provider is already compatible :smile: Update: I realize, that there are two PRs (#34 and #35) already covering...

As mentioned in the [symfony\yaml](https://github.com/symfony/Yaml/commit/a43656845f677a0f308f97667b2789410b67dc36) since 2.2: "Passing a file as an input is a deprecated feature and will be removed in 3.0."

Added more explanation and two examples for reading configuration files with and without a prefix.

Will need a major version bump. See also #21.