BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
dotenv icon
Possibly abandoned Tested up to 5.7.19 #5 in config

dotenv

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

Active installs20+10+ tier
Downloads · 30d82▲ +7.9% vs prev. 30d
Rating—0 reviews
Health score24/100At risk
All-time downloads4KSince May 2021
Support resolved—No recent threads
RequiresWP 5.2PHP 5.6+
Downloads · 7d15▼ -25% week over week
Our verdict

Consider an alternative

dotenv shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites and was last updated 5 years ago, and scores 24/100 on our health check.

  • Small user base (20+ active installs)
  • Very few reviews so far
  • No update in 5 years
  • Only tested up to WordPress 5.7 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

246Jul 2Aug 15Sep 29
Yesterday1
Daily average (1y)2
Peak day9Sep 11, 2026
Last 12 months783

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where dotenv stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
config >100 2,205 Best config plugins →
configuration >100 10,000 Best configuration plugins →
developer >100 10,000 Best developer plugins →
environment >100 4,303 Best environment plugins →
tools >100 10,000 Best tools plugins →

Version adoption

Share of active sites per release.

  • 1.0100.0%

About dotenv

From the official readme · v1.0.3

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 dotev_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_

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best dotenv alternatives

All config plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Brozzme DB Prefix & Tools Addons Brozzme DB Prefix & Tools Addons Easily change your WordPress DB prefix, save time, increase security. by Benoti 10K+ ★★★★★★★★★★ 4.7 (57) 8 months ago 61
2 Developer Debug Tools Developer Debug Tools Lots of debugging and testing tools for developers. by PluginRx 100+ ★★★★★★★★★★ 5 (4) 3 weeks ago 75
3 Config Constants Config Constants Modify WP_DEBUG and other WordPress constants directly in the WordPress admin rather than… by David Gwyer 100+ ★★★★★★★★★★ 5 (1) 2 months ago 53
4 Configurator Configurator Configurator is a plugin that allows you to edit wp-config.php in the browser. by CodeRichard 60+ ★★★★★★★★★★ No reviews 11 years ago 25
6 Theme Configurator Theme Configurator theme-configurator is the easiest and most elegant way to add customized options pages to… by jazzigor 10+ ★★★★★★★★★★ No reviews 15 years ago 23
7 WP Viewer Log WP Viewer Log Lets see how many errors have had in the present day through a widget, configure your… by Sergio 10+ ★★★★★★★★★★ No reviews 9 years ago 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+ ★★★★★★★★★★ No reviews 11 years ago 23
9 Advanced Config for S3 Uploads Advanced Config for S3 Uploads Endpoint and bucket configuration for S3 Uploads. by noplanman <10 ★★★★★★★★★★ No reviews 6 years ago 21
10 Image Config Default Image Config Default Image Config Default is a WordPress plugin. It adds default configuration to images when… by benediktbergmann <10 ★★★★★★★★★★ 5 (1) 3 years ago 28

FAQ

dotenv: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Sep 30, 2026

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 shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites and was last updated 5 years ago, and scores 24/100 on our health check.

How many websites use dotenv?

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

Does dotenv work with WordPress 7.1?

dotenv is officially tested up to WordPress 5.7.19, while the latest release is 7.1.2. It may still work, but try it on a staging site first.

What PHP version does dotenv need?

dotenv requires PHP 5.6 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.3, was released on May 28, 2021 (5 years 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… (10K+ installs), Developer Debug Tools (100+ installs) and Config Constants (100+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.