Releases: josegonzalez/php-dotenv
Releases · josegonzalez/php-dotenv
1.0.4
- Fix example in readme
1.0.3
Add a security disclosure as to why php-dotenv does not populate environment variables automatically.
1.0.2
Fix support for "empty" environment variables
1.0.1
Bugfix
1.0.0
Stable release.
0.7.1
- Fix phpcs issues
- Update documentations
0.7.0
- 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
- 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
0.4.0
- Add toPutenv that calls putenv() to set env vars
- Call raise exceptions before parse
- Use correct option; add test for static loading