NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1416 most downloaded on Packagist
dotenv file parsing for PHP
Latest stable
4.0.0
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 5.7 years
Most releases are documented
notes for 18 of 27 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
27 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Added skipExisting example block by @stefanvangastel in https://github.com/josegonzalez/php-dotenv/pull/40
Full Changelog: https://github.com/josegonzalez/php-dotenv/compare/3.2.0...4.0.0
#39 : Preserve zero values
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add support for PHP 5.5+ By removing the requirement of running apache_* tests, we can lower the requirement while not breaking any functionality.
apache_* tests, we can lower the requirement while not breaking any functionality.- Drop PHP 5.x support - Add hhvm to testing matrix - Add apache_getenv support
apache_getenv supportb07b57276864fc7faf16d8d551da34d331fc468f: Empty values are treated as nulls
Dropped our parser in favor of the absolutely beautiful parser by @m1 here.
Dropped our parser in favor of the absolutely beautiful parser by @m1 here.
This change now improves our .env parsing, and also makes parsed output a bit more lax. Please take note of this if you expect php-dotenv .env files to be bash compatible; you may wish to manually check as stated in the readme.
One notable change is the introduction of a ParseException which is currently not caught by the ->parse() call. We retain the right to change this in a minor release to bring it in line with the rest of the codebase.
- Better documentation - Fix coveralls support
Add RemapKeysFilter
Added the ability to use function callables as filters
Add official support for PHP 5.6.x and PHP 7.0.x
require-dev option when running testsUppercaseFirstKeyFilter classNothing published for this version
Add a security disclosure as to why php-dotenv does not populate environment variables automatically.
Add a security disclosure as to why php-dotenv does not populate environment variables automatically.
Fix support for "empty" environment variables
Fix support for "empty" environment variables
Nothing published for this version
Nothing published for this version
- Fix phpcs issues - Update documentations
Add the ability to use custom filter classes to modify a parsed environment
expect logic into standalone Expect classAdd support for nested variables
all.env.env file to readme showcasing various ways in which a .env file can be created${NESTED} for nested variable syntaxAdd support for optional whitespace in .env files. Closes #8
Add toPutenv that calls putenv() to set env vars
Switch to \r\n for exploding env strings
\r\n for exploding env stringsNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.