Skip to content

Releases: SpartnerNL/yamlenv

Stable release

19 Sep 14:29
Compare
Choose a tag to compare

Having used and tested this package for over a year in multiple production environments, it's safe to say it's stable.
To prevent issues when including this in a project where minimum stability is to high, this release was made.

Added support for indexed arrays

09 Nov 12:54
Compare
Choose a tag to compare

Indexed arrays are now usuable as well. Previously the loader would fail when trying to use indexed arrays.
Now these arrays are saved as a json string in the environment settings.

Added getEnv and getRawEnv methods

11 Jul 09:18
Compare
Choose a tag to compare

Two methods were added to add the ability to access the environment variables from an existing Yamlenv instance. Without needing to use the existing env/getenv functions.

The getEnv method works the same way the env() and getenv() functions work. The advantage here is the ability to load the Yamlenv as a singleton in your framework, then reusing that singleton in your classes to access the env values. Thus removing the hidden dependency that the env helper functions ( like the one laravel uses ) in your own classes.

The getRawEnv method gives us the ability to load raw values like associative arrays from the Yaml file directly. Thus giving you the full power of the Yaml method instead of just the flattened env variables.

0.1.4

04 May 15:14
Compare
Choose a tag to compare
0.1.4 Pre-release
Pre-release
Changed default file to .yml extension, instead of .yaml to better ma…