🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Conta Get it free
dotenv icon
Manutenção ativamente Testado com WP 7.1 #5 in config

dotenv

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

Instalações ativas10+10+ nível
Downloads · 30d180▲ +125% vs prev. 30d
Classificação—0 comentários
Pontuação da saúde66/100Bom
Downloads de todos os tempos4.3KDesde maio de 2021
Suporte resolvido—Sem tópicos recentes
RequerWP 6.0Php 7.4+
Downloads · 7d37▼ -59.8% week over week
Nosso veredicto

Escolha sólida

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.

  • Desenvolvido ativamente — última atualização 1 semana atrás
  • Testado com as últimas WordPress (7.1)
  • Pequena base de usuários (10+ instalações ativas)
  • Muito poucos comentários até agora

Como ele se acumula?

Lado a lado em instalações, atualizações, avaliações e suporte

Downloads diários

102030Aug 31Oct 14Nov 28
Ontem4
Média diária (1y)3
Dia de pico41Nov 20, 2026
Últimos 12 meses929

Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.

Rankings

Where dotenv stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
config #100 2,489 Best config plugins →
configuration >100 10,000 Best configuration plugins →
developer >100 10,000 Best developer plugins →
environment >100 4,868 Best environment plugins →
tools >100 10,000 Best tools plugins →

Adoção da versão

Compartilhamento de sites ativos por lançamento.

  • 1.0100.0%

About dotenv

Do Readme oficial · v1.0.4

Descrição

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.

Instalação

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

Log de Changes

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.

Registro de change completo em WordPress.org →

Para desenvolvedores

Este é o seu plugin? Mostre os números.

Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.

Selo de Instalações Ativas Selo de classificação Distintivo de pontuação de saúde

Best dotenv alternatives

All config plugins →
Alternativas
Classificação Plugin Instalações ativas Classificação Atualizada Saúde
1 Brozzme DB Prefix & Tools Addons Brozzme DB Prefix & Tools Addons Easily change your WordPress DB prefix, save time, increase security. by Benoti 9K+ ★★★★★★★★★★ 4.7 (59) 10 meses atrás 60
2 Developer Debug Tools Developer Debug Tools Lots of debugging and testing tools for developers. by PluginRx 100+ ★★★★★★★★★★ 5 (4) 2 semanas atrás 75
3 Config Constants Config Constants Modify WP_DEBUG and other WordPress constants directly in the WordPress admin rather than… Por David Gwyer 100+ ★★★★★★★★★★ 5 (1) 4 meses atrás 47
4 Configurator Configurator Configurator is a plugin that allows you to edit wp-config.php in the browser. by CodeRichard 60+ ★★★★★★★★★★ Sem comentários 12 anos atrás 25
6 Theme Configurator Theme Configurator theme-configurator is the easiest and most elegant way to add customized options pages to… by jazzigor 10+ ★★★★★★★★★★ Sem comentários 15 anos atrás 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+ ★★★★★★★★★★ Sem comentários 9 anos atrás 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+ ★★★★★★★★★★ Sem comentários 11 anos atrás 23
9 Advanced Config for S3 Uploads Advanced Config for S3 Uploads Endpoint and bucket configuration for S3 Uploads. by noplanman <10 ★★★★★★★★★★ Sem comentários 6 anos atrás 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 anos atrás 28

FAQ

dotenv: quick answers

Respostas diretas, extraídas de dados ao vivo WordPress.org.

Fonte: 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).

Alimentado por PageForge

Um modelo e uma planilha. Uma página real para cada pesquisa.

PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.

  • CSV e XLSX, mais Google Sheets em Profissional e Empresarial
  • Seu próprio título, URL, SEO campos e esquema para cada página
  • Funciona com o editor de blocos, Elementor, Divi e Avada
  • Gratuito em WordPress.org, sem cartão de crédito

↑↓ mover↵ abrir