Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
14code
phpdotenv
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
phpdotenv
src
on
2.1
User selector
All users
Datepicker
All time
Commit history
Commits on Nov 9, 2015
Fixed double space
Show description for 996d6db
janyksteenbeek
committed
996d6db
View commit details
Copy full SHA for 996d6db
View code at this point
Browse repository at this point
Commits on Jul 26, 2015
improved docs
thedavidmeister
committed
9416a9b
View commit details
Copy full SHA for 9416a9b
View code at this point
Browse repository at this point
ability to clear environment variables, with tests
thedavidmeister
committed
cdf6ee0
View commit details
Copy full SHA for cdf6ee0
View code at this point
Browse repository at this point
Commits on Jul 14, 2015
Fix load being called after overload. Add test case to cover.
louim
committed
4926322
View commit details
Copy full SHA for 4926322
View code at this point
Browse repository at this point
Commits on Jul 13, 2015
Move loader creation to the constructor
Show description for 631e266
louim
committed
631e266
View commit details
Copy full SHA for 631e266
View code at this point
Browse repository at this point
Commits on May 31, 2015
Fixed phpdoc
Show description for 4666c82
xjchengo
authored and
Graham Campbell
committed
4666c82
View commit details
Copy full SHA for 4666c82
View code at this point
Browse repository at this point
Commits on May 30, 2015
Various fixes
Graham Campbell
committed
9106429
View commit details
Copy full SHA for 9106429
View code at this point
Browse repository at this point
Commits on May 29, 2015
Add PHP 7 to Travis-CI & fix PHP 5.3 issue
vlucas
committed
058b9b0
View commit details
Copy full SHA for 058b9b0
View code at this point
Browse repository at this point
Initial v2.0 version (for really reals this time)
vlucas
committed
2f5b1bf
View commit details
Copy full SHA for 2f5b1bf
View code at this point
Browse repository at this point
Commits on Feb 19, 2015
made phpDoc more explanatory
Ultrabenosaurus
committed
b9cba53
View commit details
Copy full SHA for b9cba53
View code at this point
Browse repository at this point
add function to expose current status of the $immutable variable
Ultrabenosaurus
committed
51b53ca
View commit details
Copy full SHA for 51b53ca
View code at this point
Browse repository at this point
Commits on Dec 4, 2014
Update error message to reflect filename
Show description for 9d576dd
ciarand
committed
9d576dd
View commit details
Copy full SHA for 9d576dd
View code at this point
Browse repository at this point
Commits on Oct 20, 2014
Allow extensions to override methods
antonioribeiro
committed
e36110b
View commit details
Copy full SHA for e36110b
View code at this point
Browse repository at this point
Commits on Oct 16, 2014
Revert fix for #26 as it is a breaking change
vlucas
committed
56c252d
View commit details
Copy full SHA for 56c252d
View code at this point
Browse repository at this point
Allow special characters including $ signs
Show description for 4cbefdf
kelvinj
committed
4cbefdf
View commit details
Copy full SHA for 4cbefdf
View code at this point
Browse repository at this point
Commits on Oct 14, 2014
PHPCS PSR-2 auto fix
vlucas
committed
e783b68
View commit details
Copy full SHA for e783b68
View code at this point
Browse repository at this point
Fix #26 - Required ENV vars should not be empty
Show description for 647711d
vlucas
committed
647711d
View commit details
Copy full SHA for 647711d
View code at this point
Browse repository at this point
Support comments in .env file
motin
committed
6d432d0
View commit details
Copy full SHA for 6d432d0
View code at this point
Browse repository at this point
Commits on Oct 10, 2014
Add space between method name and brace
jbrooksuk
committed
7063b54
View commit details
Copy full SHA for 7063b54
View code at this point
Browse repository at this point
Commits on May 22, 2014
PHP 5.3 compatibility
Show description for 06ae4fe
Kelvin Jones
committed
06ae4fe
View commit details
Copy full SHA for 06ae4fe
View code at this point
Browse repository at this point
Some control over immutability
Kelvin Jones
committed
5e44343
View commit details
Copy full SHA for 5e44343
View code at this point
Browse repository at this point
Add allowed values and nested variables
Show description for 37d6f60
Kelvin Jones
committed
37d6f60
View commit details
Copy full SHA for 37d6f60
View code at this point
Browse repository at this point
Commits on Apr 4, 2014
Change file_exists to is_readable
Show description for df6109e
swalkinshaw
committed
df6109e
View commit details
Copy full SHA for df6109e
View code at this point
Browse repository at this point
Commits on Feb 15, 2014
Merge pull request #17 from pda/no-overwrite
Show description for ef2648a
vlucas
committed
ef2648a
View commit details
Copy full SHA for ef2648a
View code at this point
Browse repository at this point
Commits on Feb 5, 2014
Updates for PSR2
stanlemon
committed
011ebb3
View commit details
Copy full SHA for 011ebb3
View code at this point
Browse repository at this point
Commits on Feb 4, 2014
Don't overwrite existing environment variables.
Show description for e6819e3
pda
committed
e6819e3
View commit details
Copy full SHA for e6819e3
View code at this point
Browse repository at this point
Commits on Jan 27, 2014
clean up extra lines
aaemnnosttv
committed
411e8d6
View commit details
Copy full SHA for 411e8d6
View code at this point
Browse repository at this point
Commits on Jan 25, 2014
trim both key & value
aaemnnosttv
committed
e085df7
View commit details
Copy full SHA for e085df7
View code at this point
Browse repository at this point
use file() instead of file_get_contents() and preg_split()
aaemnnosttv
committed
044c34b
View commit details
Copy full SHA for 044c34b
View code at this point
Browse repository at this point
Commits on Jan 24, 2014
Merge pull request #11 from enygma/fix-remote-include
Show description for f16b111
vlucas
committed
f16b111
View commit details
Copy full SHA for f16b111
View code at this point
Browse repository at this point
Trimming down the key value and standardizing the line input to remove spaces around equals
Chris Cornutt
committed
57bf011
View commit details
Copy full SHA for 57bf011
View code at this point
Browse repository at this point
Adding an is_file check to the path to prevent remote file include issues (Issue #10)
Chris Cornutt
committed
b5bdc64
View commit details
Copy full SHA for b5bdc64
View code at this point
Browse repository at this point
Commits on Jan 17, 2014
Defaults non-string values for $file back to '.env'
deefour
committed
4553c33
View commit details
Copy full SHA for 4553c33
View code at this point
Browse repository at this point
Commits on Jan 10, 2014
Fixed PHP_EOL for windows
harm-less
committed
ae58f48
View commit details
Copy full SHA for ae58f48
View code at this point
Browse repository at this point
Commits on Jan 6, 2014
Check $_SERVER vars for Required
vlucas
committed
1576c2a
View commit details
Copy full SHA for 1576c2a
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.