All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
2.0.0 - 2020-06-03
- This library is under the
Env
namespace instead the global. #7 - The function
env
is underEnv
namespace and loaded automatically. #7 - Included PHP 7 strict typing
- Support for PHP 5.x and PHP 7.0.
1.2.0 - 2019-04-03
- New constant
Env::LOCAL_FIRST
to get first the values of locally-set environment variables #6.
- Added requirement for ctype extension in composer.json #4.
1.1.0 - 2017-07-17
- New constant
Env::USE_ENV_ARRAY
to get the values using$_ENV
array insteadgetenv()
#3.
- Fixed test in php versions 5.2 and 7.x
1.0.2 - 2016-05-08
Env::init()
checks if the functionenv()
exists, to prevent fatal errors on declare the function twice. If the funcion couldn't be included, returns false, otherwise returns true #1.
1.0.1 - 2015-12-31
- Fixed error on strip quotes to empty strings
First stable version
Previous releases are documented in github releases