php-dotenv | dotenv file loader for PHP
kandi X-RAY | php-dotenv Summary
kandi X-RAY | php-dotenv Summary
php-dotenv is a PHP library. php-dotenv has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
When developing and deploying your applications you are typically interacting with various environments - production and development for instance. These environments both execute your code, but will do so using different credentials. You may also wish to distribute your application to developers without accidentally giving them access to important external services. Simple examples include authentication keys to your email provider or database connection credentials. You would never want to accidentally send testing emails to all your users, or run a DROP TABLE statement against production because you ran your unit tests. How do you tackle these differing credentials? The php-dotenv helps solve this issue by allowing you to configure your environments in a universal fashion, making it easy to safely switch between environments, as well as share those environments with multiple projects/languages. Need more reasons? Check out the twelve-factor app docs on configuration.
When developing and deploying your applications you are typically interacting with various environments - production and development for instance. These environments both execute your code, but will do so using different credentials. You may also wish to distribute your application to developers without accidentally giving them access to important external services. Simple examples include authentication keys to your email provider or database connection credentials. You would never want to accidentally send testing emails to all your users, or run a DROP TABLE statement against production because you ran your unit tests. How do you tackle these differing credentials? The php-dotenv helps solve this issue by allowing you to configure your environments in a universal fashion, making it easy to safely switch between environments, as well as share those environments with multiple projects/languages. Need more reasons? Check out the twelve-factor app docs on configuration.
Support
Quality
Security
License
Reuse
Support
php-dotenv has a low active ecosystem.
It has 270 star(s) with 30 fork(s). There are 12 watchers for this library.
It had no major release in the last 12 months.
There are 4 open issues and 28 have been closed. On average issues are closed in 104 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of php-dotenv is 3.2.0
Quality
php-dotenv has 0 bugs and 0 code smells.
Security
php-dotenv has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
php-dotenv code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
php-dotenv is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
php-dotenv releases are available to install and integrate.
Installation instructions, examples and code snippets are available.
php-dotenv saves you 216 person hours of effort in developing the same functionality from scratch.
It has 529 lines of code, 36 functions and 9 files.
It has medium code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed php-dotenv and discovered the below as its top functions. This is intended to give you an instant insight into php-dotenv implemented functionality, and help decide if they suit your requirements.
- Load a configuration file
- Set the filters .
- Parse the environment file .
- Define the environment .
- Send to server variables .
- Get a value from an array .
Get all kandi verified functions for this library.
php-dotenv Key Features
No Key Features are available at this moment for php-dotenv.
php-dotenv Examples and Code Snippets
No Code Snippets are available at this moment for php-dotenv.
Community Discussions
No Community Discussions are available at this moment for php-dotenv.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install php-dotenv
Run composer require josegonzalez/dotenv:dev-master.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page