Download the PHP package gacela-project/gacela-yaml-config-reader without Composer
On this page you can find all versions of the php package gacela-project/gacela-yaml-config-reader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gacela-project/gacela-yaml-config-reader
More information about gacela-project/gacela-yaml-config-reader
Files in gacela-project/gacela-yaml-config-reader
Package gacela-yaml-config-reader
Short Description Load yaml/yml files into Gacela
License MIT
Informations about the package gacela-yaml-config-reader
Gacela YamlConfigReader
Load yaml/yml configuration files for your Gacela projects.
Requirements
| PHP | >=8.3 |
gacela-project/gacela |
^2.4 |
symfony/yaml |
^6.4 \|\| ^7.0 \|\| ^8.0 |
Gacela 2.0 raised its own PHP floor to 8.3, so this package cannot be used on an
older runtime. Earlier versions of this package declared php: ^8.0, <8.3 and
gacela-project/gacela: *, a pair that could only ever resolve against Gacela
1.x — if you are still there, keep using one of those. See Gacela's upgrade
guide for what
moving to 2.x involves.
Setup
You can define the reader configuration either in the Gacela::bootstrap() or in a gacela.php file.
Option A)
Define the configuration in a gacela.php file in the root of your project (recommended way):
Option B)
Define all configuration on the fly in the bootstrap itself.
You can define more than one ConfigReader at once.
All versions of gacela-yaml-config-reader with dependencies
gacela-project/gacela Version ^2.4
symfony/yaml Version ^6.4 || ^7.0 || ^8.0