[**Documentation**](../../../README)

***

[Documentation](../../../README) / [zerotal](../../README) / [index](../README) / Config

# Variable: Config

> `const` **Config**: [`ConfigManager`](../../config-reexport/classes/ConfigManager)

Defined in: [packages/core/src/facade/facades/Config.ts:21](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/core/src/facade/facades/Config.ts#L21)

Facade over the `config` binding for reading configuration values.

Resolves the live `config` instance from the container on each access, so it
is only usable after `Application.boot()` has run.

## Example

```ts
import { Config } from "@zerotal/core/facades";

Config.get("app.name");         // read with the app's config value type
Config.require("app.key");      // throws ConfigError when unset
```
