.env parser plugin for Core-PHP applications

1.0 2022-04-08 17:34 UTC

This package is auto-updated.

Last update: 2025-08-11 20:01:12 UTC


README

MIT Licensed Latest Stable Version Total Downloads

.env parser plugin for Core-PHP applications

Installation

Require this package with composer:

composer require lionrajkumar/dotenv

Usage

require 'vendor/autoload.php';

$env = new \lionrajkumar\DotEnv(__DIR__ . "/.env");
$env->load();

Quick Examples

Please refer to our extensive Wiki documentation for more information.

Support

For answers, you may not find in the Wiki, avoid posting issues. Feel free to ask for support on lionrajkumar.com

License

This package is licensed under the MIT License.

Ref