Skip to content

Releases: josegonzalez/php-dotenv

1.0.4

22 Dec 00:14
Compare
Choose a tag to compare
  • Fix example in readme

1.0.3

09 Oct 22:00
Compare
Choose a tag to compare

Add a security disclosure as to why php-dotenv does not populate environment variables automatically.

1.0.2

15 Aug 19:03
Compare
Choose a tag to compare

Fix support for "empty" environment variables

1.0.1

05 Jun 06:11
Compare
Choose a tag to compare

Bugfix

1.0.0

28 May 20:54
Compare
Choose a tag to compare

Stable release.

0.7.1

24 May 07:43
Compare
Choose a tag to compare
  • Fix phpcs issues
  • Update documentations

0.7.0

24 May 07:12
Compare
Choose a tag to compare
  • Add the ability to use custom filter classes to modify a parsed environment
  • Extract expect logic into standalone Expect class
  • Allow empty quoted strings
  • Add the ability to set multiple filepaths, each being a fallback for the previous one.

0.6.0

02 Mar 02:01
Compare
Choose a tag to compare
  • Parser updates
    • Add support for nested variables
    • Add support for comments
    • Fix issues with quoted values
    • Add a real-world test case
    • Consolidate most fixtures into an all.env
    • Add example .env file to readme showcasing various ways in which a .env file can be created
  • Add support for newline characters
  • Follow bash variable formatting better
    • Only allow spaced values when in quotes
    • Use ${NESTED} for nested variable syntax
  • Turn unquoted values into their php equivalents where possible.
    • Also require quoted values for newline interpolation

0.5.0

01 Mar 03:15
Compare
Choose a tag to compare
  • Expand test coverage
  • Add support for optional whitespace in .env files. Closes #8

0.4.0

28 Feb 22:40
Compare
Choose a tag to compare
  • Add toPutenv that calls putenv() to set env vars
  • Call raise exceptions before parse
  • Use correct option; add test for static loading