🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
dotenv icon
Activement maintenu Testé avec WP 7.1 #5 in config

dotenv

A WordPress plugin to set WordPress options from a .env file.

Installations actives10+10+ niveaux
Téléchargements · 30D180▲ +125% vs prev. 30d
Évaluation—0 avis
Score de santé66/100Bon
Téléchargements de tous les temps4.3KDepuis mai 2021
Support résolu—Aucun fil de discussion récent
A besoin deWP 6.0PHP 7.4+
Téléchargements · 7j37▼ -59.8% week over week
Notre verdict

Choix solide

dotenv is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 1 week ago, and scores 66/100 on our health check.

  • Développé activement — Dernière mise à jour il y a 1 semaine
  • Testé avec le dernier WordPress (7.1)
  • Petite base d'utilisateurs (plus de 10 installations actives)
  • Très peu de critiques jusqu'à présent

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

102030Aug 31Oct 14Nov 28
Hier4
Moyenne quotidienne (1 ans)3
Jour de pointe41Nov 20, 2026
12 Derniers mois929

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where dotenv stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
config #100 2,489 Best config plugins →
configuration >100 10,000 Best configuration plugins →
développeur >100 10,000 Meilleurs plugins pour développeurs →
environment >100 4,868 Best environment plugins →
tools >100 10,000 Best tools plugins →

Adoption de version

Part de sites actifs par version.

  • 1.0100.0%

About dotenv

À partir du Lisezmoi officiel · v1.0.4

Description

Any WPENV_ prefixed variables in the .env will be used to override the WordPress options. For example, if you’d like to set a specific environment to “Discourage search engines from indexing this site”, you can add WPENV_BLOG_PUBLIC=0 to your .env file.

  • Any option in the wp_options table or retrieved by get_option() can be set this way.

  • You can define keys either as WPENV_BLOGDESCRIPTION or as WPENV_blogdescription, both will work.

  • If you’d like to define the location of your .env file, rather than the plugin looking for it, you can filter dotenv_location to be a directory path.

  • You can also change the WPENV_ prefix by filtering dotenv_key_prefix to be a different prefix.

Installation

  • Install the plugin.
    • Add a .env file either in the root of your site or one level above.
    • Add any WordPress options keys to filter with the prefix WPENV_

Journal de modifications

1.0.4

  • Fixed uppercase keys like WPENV_BLOGDESCRIPTION not setting the option.
  • Added the dotenv_key_prefix filter. The misspelled wpdotev_key_prefix filter still works.
  • An invalid .env file no longer causes a fatal error.
  • Updated phpdotenv to 5.8.
  • Requires WordPress 6.0 and PHP 7.4, tested up to WordPress 7.1.

Journal des modifications complet sur WordPress.org →

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best dotenv alternatives

All config plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Addons de préfixe et d'outils de la base de données Brozzme Addons de préfixe et d'outils de la base de données Brozzme Changez facilement votre préfixe WordPress DB, gagnez du temps, augmentez la sécurité. par Benoti 9K+ ★★★★★★★★★★ 4.7 (59) il y a 10 mois 60
2 Developer Debug Tools Developer Debug Tools Lots of debugging and testing tools for developers. par pluginrx 100+ ★★★★★★★★★★ 5 (4) Il y a 2 semaines 75
3 Config Constants Config Constants Modify WP_DEBUG and other WordPress constants directly in the WordPress admin rather than… Par David Gwyer 100+ ★★★★★★★★★★ 5 (1) il y a 4 mois 47
4 Configurator Configurator Configurator is a plugin that allows you to edit wp-config.php in the browser. by CodeRichard 60+ ★★★★★★★★★★ Aucun avis il y a 12 ans 25
6 Theme Configurator Theme Configurator theme-configurator is the easiest and most elegant way to add customized options pages to… by jazzigor 10+ ★★★★★★★★★★ Aucun avis Il y a 15 ans 23
7 WP Viewer Log WP Viewer Log Lets see how many errors have had in the present day through a widget, configure your… par Sergio 10+ ★★★★★★★★★★ Aucun avis il y a 9 ans 23
8 Tweak Hidden Options Tweak Hidden Options Tweak Hidden Options is a safe and easy-to-use way to modify, tweak, and change various… by Miina Sikk 10+ ★★★★★★★★★★ Aucun avis il y a 11 ans 23
9 Advanced Config for S3 Uploads Advanced Config for S3 Uploads Endpoint and bucket configuration for S3 Uploads. par noplanman <10 ★★★★★★★★★★ Aucun avis Il y a 6 ans 21
10 Image Config Default Image Config Default Image Config Default is a WordPress plugin. It adds default configuration to images when… par Benediktbergmann <10 ★★★★★★★★★★ 5 (1) Il y a 3 ans 28

FAQ

dotenv: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is dotenv free?

Yes. dotenv is free to download and use from the official WordPress.org plugin directory.

Is dotenv safe to use in 2026?

dotenv is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 1 week ago, and scores 66/100 on our health check.

How many websites use dotenv?

dotenv is active on 10+ WordPress websites and has been downloaded 4,276 times since it launched in May 2021. It was downloaded 180 times in the last 30 days.

Does dotenv work with WordPress 7.1?

Yes. The developer has tested dotenv up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.

What PHP version does dotenv need?

dotenv requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was dotenv last updated?

The latest version, 1.0.4, was released on November 19, 2026 (1 week ago).

Who makes dotenv?

dotenv is developed and maintained by Brad Parbs.

What are the best alternatives to dotenv?

The most popular alternatives to dotenv are Brozzme DB Prefix & Tools A… (9K+ installs), Developer Debug Tools (100+ installs) and Config Constants (100+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir