Skip to content

Commit

Permalink
Highlight Env component
Browse files Browse the repository at this point in the history
  • Loading branch information
aedart committed May 6, 2024
1 parent e2aea54 commit c2ac6a3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/archive/current/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,25 @@ _TBD: "To be decided"._

## `v0.x` Highlights

### Env <Badge type="tip" text="Available since v0.12" />

The `Env` component offers a way to retrieve environment variables for your application's runtime.

```js
import { Env } from "@aedart/support/env";

// During your application's bootstrapping...
Env.define({
APP_ENV: 'production'
});

// Later in your application
const environment = Env.get('APP_ENV');
console.log(environment); // production
```

See the [documentation](./packages/support/env/README.md) for additional details.

### Service Container <Badge type="tip" text="Available since v0.11" />

An adaptation of Laravel's Service Container that offers a way to with powerful tool to manage dependencies and perform
Expand Down

0 comments on commit c2ac6a3

Please sign in to comment.