Phpdotenv
Loads environment variables from `.env` to `$_ENV` and `$_SERVER` automagically, and optionally to `getenv()`.
Filament plugins, Laravel packages and open source starter kits actively maintained. All MIT, with releases for v3, v4 and v5 where applicable.
Loads environment variables from `.env` to `$_ENV` and `$_SERVER` automagically, and optionally to `getenv()`.
Edit your .env file in Laravel directly from the command line.
Environment-aware, type-safe configuration classes for Laravel. Move non-secret values out of .env and into typed, IDE-friendly PHP classes.
A framework-agnostic PHP package for easy .env file key management. Seamlessly update, add, or modify environment variables across projects with minimal configuration.
Coverage reporting for your .env: static analysis for env() call isolation, .env.example drift, and secret heuristics.
Prevent Laravel from using stale config or route cache after deployment changes, with Composer autoload integration and in-app auto repair for shared hosting.
Auto-configure .env files for Git worktree projects, copying from the main worktree and adjusting APP_URL
Automatically audit Laravel environment variables for missing, unused, duplicate, inconsistent and unsafe usage during development.
All packages have CI, Pest tests and open issues tagged good first issue.
New version available.