# `PhoenixKitWeb.Router`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.87/lib/phoenix_kit_web/router.ex#L1)

PhoenixKit library router.

This router is used only for development and testing purposes.
In production, parent applications should use `phoenix_kit_routes()` macro
to integrate PhoenixKit routes into their own router.

## Usage in Parent Application

    defmodule MyAppWeb.Router do
      use MyAppWeb, :router
      import PhoenixKitWeb.Integration

      # Add PhoenixKit routes
      phoenix_kit_routes()
    end

# `browser`

# `call`

Callback invoked by Plug on every request.

# `formatted_routes`

# `init`

Callback required by Plug that initializes the router
for serving web requests.

# `phoenix_kit_admin_only`

# `phoenix_kit_api`

# `phoenix_kit_auto_setup`

# `phoenix_kit_locale_validation`

# `phoenix_kit_optional_scope`

# `phoenix_kit_redirect_if_authenticated`

# `phoenix_kit_require_authenticated`

# `verified_route?`

---

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