=== Environment Color Badge by Volade ===
Contributors: volade
Tags: environment, staging, admin bar, banner, wp environment type
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later

Bandeau couleur PROD/DEV/STAGING — admin bar + banner, 4 presets, export JSON, REST eci/v1, WP-CLI wp eci.

== Description ==

Environment Color Badge by Volade colors the WordPress admin bar and optionally shows a front banner for **PROD / STAGING / DEVELOPMENT / LOCAL**.

* Detects environment via settings override, `ECI_ENV` / `ENV_COLOR`, or `wp_get_environment_type()`
* Colored admin bar + optional front banner (logged-in only by default)
* 4 presets: local-dev, staging-orange, prod-red-subtle, agency-multisite
* Free JSON export, action log, Site Health check
* REST `eci/v1`, WP-CLI `wp eci`

No custom tables. Options only: `eci_settings`, `eci_action_log`, `eci_activation_redirect`.

== Installation ==

1. Upload the ZIP via Plugins → Add New → Upload
2. Activate Environment Color Badge by Volade
3. Open Volade → Env Badge (or Tools → Env Badge)

== Frequently Asked Questions ==

= How is the environment detected? =

1. Settings `force_env` if set
2. Constant `ECI_ENV` or `ENV_COLOR`
3. `wp_get_environment_type()` / `WP_ENVIRONMENT_TYPE`
4. Otherwise `unknown`

= Does this use postmeta or custom tables? =

No. Options only: eci_settings, eci_action_log, eci_activation_redirect.

== Changelog ==

= 1.0.0 =
* Initial release — admin bar + banner, 4 presets, export, REST and WP-CLI.
