Is Phpdotenv Safe?

Phpdotenv — Nerq Trust Score 63.2/100 (C+ grade). Score based on 2 independent trust signals. Last analyzed: 2026-04-12

Phpdotenv is a PHP package with a Nerq Trust Score of 63.2/100 (C+), based on 3 independent data dimensions. Last analyzed: 2026-04-12 Security: 90/100. Popularity: 100/100. Data sourced from packagist.org, GitHub, and NVD. Last updated: 2026-04-12. Machine-readable data (JSON).

Is Phpdotenv safe?

Trust Score Breakdown — Phpdotenv has a Nerq Trust Score of 63.2/100 (C+). Measured across 2 independent trust signals (as of 2026-04-12).

Security Analysis → Phpdotenv Privacy Report →

What is Phpdotenv's trust score?

Phpdotenv has a Nerq Trust Score of 63.2/100, earning a C+ grade. This score is based on 2 independently measured dimensions including security, maintenance, and community adoption.

Security
90
Popularity
100

What are the key security findings for Phpdotenv?

Phpdotenv's strongest signal is popularity at 100/100. No known vulnerabilities have been detected.

Security score: 90/100 (strong)
Popularity: 100/100 — 13,798 stars on PHP Packages

What is Phpdotenv and who maintains it?

Authorvlucas
CategoryPHP Packages
Stars13,798
SourceN/A

Phpdotenv Across Platforms

Same developer/company in other registries:

gasmask
48/100 · npm
skycap
48/100 · npm
echotag
48/100 · npm
skycap-adapter-knex
48/100 · npm

Similar Packagist by Trust Score

psr/container (63)guzzlehttp/guzzle (63)symfony/event-dispatcher (63)symfony/polyfill-ctype (63)phpunit/php-file-iterator (63)
See all safest Packagist →

Compare

Phpdotenv vs psr/containerPhpdotenv vs guzzlehttp/guzzlePhpdotenv vs symfony/event-dispatcher

Safety Guide: Phpdotenv

What is Phpdotenv?

Phpdotenv is a PHP package — Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically..

How to Verify Safety

Run composer audit. Check packagist.org.

You can also check the trust score via API: GET /v1/preflight?target=vlucas/phpdotenv

Key Safety Concerns for PHP package

When evaluating any PHP package, watch for: dependency vulnerabilities, PHP compatibility.

Measured Signals

Phpdotenv has a Nerq Trust Score of 63/100 (C+). This score is a composite of automated measurements of security, maintenance, community, and quality signals.

Key Takeaways

Detailed Score Analysis

DimensionScore
Security90/100
Maintenance50/100
Popularity100/100
Quality40/100
Community35/100

Based on 5 dimensions. Data from packagist.org, GitHub, and NVD.

What data does Phpdotenv collect?

Phpdotenv is a PHP package maintained by vlucas. It receives approximately 599,599,288 weekly downloads.

As a development package, Phpdotenv does not directly collect end-user personal data. However, applications built with it may collect data depending on implementation. Privacy score: 80/100.

Review the package's dependencies for potential supply chain risks. Run your package manager's audit command regularly.

Full analysis: Phpdotenv Privacy Report · Privacy review

Is Phpdotenv secure?

Security score: 90/100 (0-100, higher = fewer measured security issues).

Nerq monitors this entity against NVD, OSV.dev, and registry-specific vulnerability databases for ongoing security assessment.

Full analysis: Phpdotenv Security Report

Phpdotenv Across Platforms

Same developer/company in other registries:

gasmask (npm, 48/100)skycap (npm, 48/100)echotag (npm, 48/100)skycap-adapter-knex (npm, 48/100)

How we calculated this score

Phpdotenv's trust score of 63.2/100 (C+) is computed from packagist.org, GitHub, and NVD. The score reflects 5 independent dimensions: security (90/100), maintenance (50/100), popularity (100/100), quality (40/100), community (35/100). Each dimension is weighted equally to produce the composite trust score.

Nerq analyzes over 7.5 million entities across 26 registries using the same methodology, enabling direct cross-entity comparison. Scores are updated continuously as new data becomes available.

Signals last measured on April 12, 2026. Data version: 1.0.

Full methodology documentation · Machine-readable data (JSON API)

Frequently Asked Questions

Is Phpdotenv Safe?
vlucas/phpdotenv with a Nerq Trust Score of 63.2/100 (C+). Strongest signal: popularity (100/100). Score based on Security (90/100), Popularity (100/100).
What is Phpdotenv's trust score?
vlucas/phpdotenv: 63.2/100 (C+). Score based on Security (90/100), Popularity (100/100). Scores update as new data becomes available. API: GET nerq.ai/v1/preflight?target=vlucas/phpdotenv
What are safer alternatives to Phpdotenv?
In the PHP Packages category, more PHP packages are being analyzed — check back soon. vlucas/phpdotenv scores 63.2/100.
Does Phpdotenv have known vulnerabilities?
Nerq checks Phpdotenv against NVD, OSV.dev, and registry-specific vulnerability databases. Current security score: 90/100. Run your package manager's audit command for the latest findings.
Is Phpdotenv actively maintained?
Phpdotenv maintenance score: N/A. Check the repository for recent commit activity and issue responsiveness.
API: /v1/preflight Trust Badge API Docs

See Also

Disclaimer: Nerq trust scores are automated measurements based on publicly available signals. They are not endorsements, verdicts, or guarantees of suitability. Always evaluate the signals against your own requirements.

We use cookies for analytics and caching. Privacy