A simple dotenv library for PHP
github.com/namankumar80510/DikkiDotEnv
Homepage
pkg:composer/dikki/dotenv
Transparency log
Installs: 737
Dependents: 6
Suggesters: 0
Stars: 0
Open Issues: 0
Advisories: 0
Aikido package health analysis
Requires
Requires (Dev)
None
Suggests
Provides
Conflicts
Replaces
MIT a40087a4ff37b82aecb6d2c0067c541d203f6403
dotenv
Published on Packagist.org on 2024-11-22 06:36 UTC
This package is auto-updated.
Last update: 2026-06-22 09:54:47 UTC
A simple dotenv component for PHP.
$dotenv = new Dikki\DotEnv\DotEnv(__DIR__, '.env'); // directory where .env is present; second argument is optional $dotenv->load(); // load the vars from .env file echo $_ENV['DEBUG']; // or getenv('DEBUG')