# `PhoenixDevToolbar`
[🔗](https://github.com/zoten/phoenix_dev_toolbar/blob/0.0.2/lib/phoenix_dev_toolbar.ex#L1)

A dev-only debug toolbar for Phoenix LiveView applications.

Every entry point of the library is a no-op unless `enabled?/0` returns
`true`. See [ADR 01](https://github.com/zoten/phoenix_dev_toolbar/blob/main/adr/01-zero-prod-footprint-and-installation.md) for the production footprint rules.

# `enabled?`

```elixir
@spec enabled?() :: boolean()
```

Returns whether the toolbar is enabled.

True when `config :phoenix_dev_toolbar, enabled: true`, or when `enabled` is
unset under Mix env `:dev`. The application settles an unset value at boot:
in a release or any other Mix env it stores `false`.

## Examples

    iex> PhoenixDevToolbar.enabled?()
    true

---

*Consult [api-reference.md](api-reference.md) for complete listing*
