m1/env
Env is a lightweight library bringing .env file parser compatibility to PHP. In short - it enables you to read .env files with PHP.
2.2.0
13M downloads/mo
#1366 most downloaded on Packagist
m1/Env
What this package is like to depend on
Last release 7 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 1.7 years
Nearly every release is documented
notes for 10 of 10 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
10 releases · first in 2015
0 releases in the last 12 months
see the full history below
Release timeline
10 releases · Dec 2015 to Feb 2020
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Releases
latest 10-
2.2.019 Feb 2020Release notes
Open source →Added
- Tests for more PHP versions.
Fixed
- Skipping lines without key/value assignment.
- Parsing value ending with quote
Removed
- HHVM tests.
-
2.1.219 Jun 2018Release notes
Open source →Altered
- Allow for the pull of a single value using
getContenton theParserclass
- Allow for the pull of a single value using
-
2.1.116 May 2018 -
2.1.006 Oct 2016Release notes
Open source →Fixed
- Single quote variables in single quotes will be treated as strings
Release notes
Open source →Fixed
- Single quote variables in single quotes will be treated as strings
-
2.0.007 Jan 2016Release notes
Open source →Altered
- Must pass
file_get_contents()or content string toparsernot afile - Keys must not start with a number
- Make
#in unquoted into string if no space, e.g.value#notacomment
Removed
- File logic (Env.php)
Release notes
Open source →Altered
- Must pass
file_get_contents()or content string toparsernot afile - Keys must not start with a number
- Make
#in unquoted into string if no space, e.g.value#notacomment
Removed
- File logic (Env.php)
- Must pass
-
1.1.005 Jan 2016Release notes
Open source →Added
- Support for parameter expansions: default value and assign default value
- Support for php
5.3andhhvm
Altered
- Updated README
- Test cases
- Travis
Release notes
Open source →Added
- Support for parameter expansions: default value and assign default value
- Support for php
5.3andhhvm
Altered
- Updated README
- Test cases
-
1.0.121 Dec 2015 -
1.0.019 Dec 2015 -
0.2.015 Dec 2015 -
0.1.013 Dec 2015