vlucas/phpdotenv
vlucas/phpdotenv loads environment variables from a .env file into getenv(), $_ENV, and $_SERVER. Ideal for keeping secrets out of code and managing per-environment configuration in PHP apps via simple, portable dotenv files.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| symfony/dotenv | 0.84 | Symfony Dotenv reads .env files and exposes variables via $_ENV/$_SERVER. Load one or multiple files, optionally overwrite existing values, or use loadEnv() to handle .env.local and environment-specific variants for local development and deployment. | 3,792 | 3,818 | 28 | 5M | 0 | 53.9 | 50.9 | MIT | 1 week ago | |
| mykehowells/dotenv | 0.82 | Load and manage environment variables in PHP/Laravel using .env files. Simple API for reading config values across local, staging, and production setups, making it easy to keep secrets and per-environment settings out of code. | 2 | 2 | 0 | 1 | 0 | 0.9 | 1.7 | — | 10 years ago | |
| avris/dotenv | 0.81 | Tiny PHP dotenv loader for reading .env files and injecting variables into the environment, $_ENV, and $_SERVER. Supports common KEY=VALUE syntax, quotes, comments, and safe defaults to keep config out of code and VCS. | 0 | 1 | — | 0 | — | 0.0 | — | — | — | |
| syamsoul/laravel-set-env | 0.80 | Programmatically set, update, and read Laravel .env variables with a simple facade and CLI. Supports comments, precise placement, and multiple env files (.env, .env.example). Includes production safety checks for secure environment configuration management. | 9 | 9 | 7 | 2K | 0 | 18.4 | 35.0 | — | 2 months ago | |
| php-standard-library/env | 0.79 | Tiny PHP utility for reading environment variables with sensible defaults and type casting. Helps centralize access to config via env(), supports required keys, fallback values, and safe handling when variables are missing or empty. | 0 | 0 | 0 | 12K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| jackiedo/dotenv-editor | 0.79 | Edit Laravel .env files safely with a fluent API: read raw content and parsed entries, add/update/delete keys, manage comments and export flags, insert empty/comment lines, check key existence, and create/restore backups with configurable storage. | 0 | 206 | — | 20K | — | 8.8 | 27.0 | — | — | |
| spiral/config | 0.78 | Spiral Config provides a flexible configuration system for Spiral apps. Load, merge, and access settings from multiple sources with a clean API, supporting layered environments and structured config classes for predictable, testable application configuration. | 2 | 2 | 1 | 4K | 0 | 2.4 | 43.6 | MIT | 6 years ago | |
| portphp/portphp | 0.77 | Port is a PHP data import/export workflow library. Build pipelines to read, transform, validate, and write data across formats and sources, with reusable steps and a flexible architecture for ETL-style jobs. | 284 | 273 | 45 | 51K | 27 | 14.3 | 40.4 | MIT | 2 years ago | |
| atournayre/dotenv-updater-bundle | 0.77 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 3 years ago |
How can I help you explore Laravel packages today?