Packagist · packagist:symfony/dotenv
symfony/dotenv active
Registers environment variables from a .env file
| Latest stable version | 8.1.6 |
|---|---|
| Published | 2026-07-26 10:31:34+00:00 |
| Install | composer require symfony/dotenv |
| Required PHP version (composer.json) | PHP >=8.4.1 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-10-08 20:59:50 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-07-26 10:31:34 UTC · 74 days ago |
| Stable releases in the last 12 months | 29 |
| Published versions | 346 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
8.1.6 | 2026-07-26 10:31:34 UTC |
8.1.2 | 2026-07-26 10:31:34 UTC |
8.0.15 | 2026-07-26 10:28:45 UTC |
7.4.18 | 2026-07-26 10:22:28 UTC |
7.4.15 | 2026-07-26 10:22:28 UTC |
6.4.45 | 2026-07-26 10:10:07 UTC |
6.4.43 | 2026-07-26 10:10:07 UTC |
8.0.14 | 2026-06-05 06:22:43 UTC |
7.4.14 | 2026-06-05 06:22:21 UTC |
6.4.42 | 2026-06-05 06:18:55 UTC |
8.1.0 | 2026-05-29 05:06:50 UTC |
8.0.11 | 2026-05-11 13:06:45 UTC |
7.4.11 | 2026-05-11 13:02:51 UTC |
6.4.39 | 2026-05-06 14:07:03 UTC |
8.0.9 | 2026-04-29 15:02:55 UTC |
7.4.9 | 2026-04-29 13:21:53 UTC |
6.4.37 | 2026-04-29 06:20:43 UTC |
8.0.8 | 2026-03-30 15:14:47 UTC |
7.4.8 | 2026-03-30 12:55:43 UTC |
6.4.36 | 2026-03-30 07:25:04 UTC |
Showing the 20 most recent of 277 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
php 7.4 | 5.4.48 |
php 8.0 | 6.0.19 |
php 8.1 | 6.4.45 |
php 8.2 | 7.4.18 |
php 8.3 | 7.4.18 |
php 8.4 | 8.1.6 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of symfony/dotenv?
The latest stable version of symfony/dotenv is 8.1.6, published on 2026-07-26. Verified by Vigia on 2026-10-08.
How do I install the latest version of symfony/dotenv?
Run composer require symfony/dotenv. The latest stable version is 8.1.6 (verified 2026-10-08).
Is symfony/dotenv deprecated?
No. symfony/dotenv is not marked as deprecated in the registry.
Which PHP version does symfony/dotenv require?
symfony/dotenv 8.1.6 declares this requirement: PHP >=8.4.1.
Does symfony/dotenv 8.1.6 have known vulnerabilities?
No known advisories affect symfony/dotenv 8.1.6 according to the data Vigia checks.
Is symfony/dotenv still maintained?
symfony/dotenv published 29 stable releases in the last 12 months; the most recent was 74 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- inertiajs/inertia-laravel
- spatie/laravel-permission
- laravel/boost
- symfony/polyfill-intl-icu
- symfony/framework-bundle
- laravel/sentinel
- dealerdirect/phpcodesniffer-composer-installer
- friendsofphp/php-cs-fixer
- psr/http-server-middleware
- intervention/image
- doctrine/sql-formatter
- sentry/sentry-laravel
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/symfony/dotenv) [](https://vigia.coredls.cloud/packagist/symfony/dotenv) [](https://vigia.coredls.cloud/packagist/symfony/dotenv)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/symfony/dotenv
GET https://vigia.coredls.cloud/v1/packages/packagist/symfony/dotenv/versions/{version}