Download the PHP package chaoswd/dotenv without Composer
On this page you can find all versions of the php package chaoswd/dotenv. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package dotenv
Chaos Dotenv
A lightweight .env loader for PHP projects.
Provides simple environment variable management with support for defaults, type casting, and project root detection.
Installation
Require via Composer:
Usage
Create a .env file in the root of your project:
Bootstrap it in your project:
Features
- Load environment variables from a
.envfile - Simple
env($key, $default = null, $type = null)helper - Supports defaults when a variable is missing
- Automatic trimming of quotes and whitespace
- Type casting support (
int,bool,string) - Compatible with PHP 8.2+
Changelog
See CHANGELOG.md for version history.
License
This package is open-sourced software licensed under the MIT license.
All versions of dotenv with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
The package chaoswd/dotenv contains the following files
Loading the files please wait ...