Skip to content

Releases: oscarotero/env

2.1.1

03 Dec 01:03
Compare
Choose a tag to compare

2.1.0

11 Jun 11:12
Compare
Choose a tag to compare

2.0.0

03 Jun 21:18
Compare
Choose a tag to compare

1.2.0

03 Apr 18:29
Compare
Choose a tag to compare

Added

  • New constant Env::LOCAL_FIRST to get first the values of locally-set environment variables [#6].

Fixed

  • Added requirement for ctype extension in composer.json [#4].

1.1.0

17 Jul 20:43
Compare
Choose a tag to compare

Added

  • New constant Env::USE_ENV_ARRAY to get the values using $_ENV array instead getenv() #3.

Fixed

  • Fixed test in php versions 5.2 and 7.x

1.0.2

08 May 17:22
Compare
Choose a tag to compare

Env::init() checks if the function env() exists, to prevent fatal errors on declare the function twice. If the funcion couldn't be included, returns false, otherwise returns true #1.

Env::init(); //returns true
Env::init(); //returns false

1.0.1

31 Dec 12:35
Compare
Choose a tag to compare

Fixed error on strip quotes to empty strings

1.0.0

30 Dec 12:15
Compare
Choose a tag to compare

First release