Download the PHP package code-foundation/flow-config-symfony without Composer
On this page you can find all versions of the php package code-foundation/flow-config-symfony. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download code-foundation/flow-config-symfony
More information about code-foundation/flow-config-symfony
Files in code-foundation/flow-config-symfony
Package flow-config-symfony
Short Description Symfony bundle for code-foundation/flow-config
License MIT
Informations about the package flow-config-symfony
Status
Introduction
Flow Config is a key value configuration platform built on top of doctrine. It provides an PHP API for setting configuration at the platform that can be set by an install, and then set for a user, or other entity. Defaults are set in a single location, rather than scattering them through the code.
This package provides a Symfony 4 bundle for installing flow-config.
See https://github.com/code-foundation/flow-config
Installation
Add this bundle to your bundles.php
Add a default yaml configuration file for your configuration defaults in flow_config.yaml
Note that the keys are evaluated as strings, the dot separation and prefixes of 'user' and 'system' are convention only, and do not have special meaning to flow config.
The bundle preconfigures the following services. In almost all cases, you want to use flowconfig.cascade
Alias | interface | class |
---|---|---|
flowconfig.cascade |
CompositeConfigRepositoryInterface |
CodeFoundation\FlowConfig\Repository\CascadeConfig |
flowconfig.entity |
EntityConfigRepositoryInterface |
CodeFoundation\FlowConfig\Repository\DoctrineEntityConfig |
flowconfig.system |
ConfigRepositoryInterface |
CodeFoundation\FlowConfig\Repository\DoctrineConfig |
flowconfig.ro |
ReadonlyConfigRepositoryInterface |
CodeFoundation\FlowConfig\Repository\ReadonlyConfig |
Entities passed to setByEntity()
and getByEntity()
must implement CodeFoundation\FlowConfig\InterfacesEntityIdentifier
.
Supported platforms
- PHP 7.3+
- Symfony 4.x
- Doctrine 2.x
Contact
Github: https://github.com/code-foundation/flow-config-symfony
Email: [email protected]
License
Flow Config and the Symfony bundle is distributed under the MIT license.
All versions of flow-config-symfony with dependencies
code-foundation/flow-config Version ^0.0.4
symfony/framework-bundle Version ^4.0
doctrine/doctrine-bundle Version ^1.11
symfony/dependency-injection Version ^4.0
symfony/yaml Version ^4.0
symfony/config Version ^4.0
symfony/http-kernel Version ^4.0