> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wyrly.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Packages

> Wyrly DI packages and where to install them from.

Wyrly is published as a small set of focused packages.

## Package matrix

| Package          | Deno JSR | npm | Description                                         |
| ---------------- | -------- | --- | --------------------------------------------------- |
| `@wyrly/core`    | yes      | yes | Core container, tokens, lifetimes, validation       |
| `@wyrly/express` | yes      | yes | Express 5 middleware                                |
| `@wyrly/hono`    | yes      | yes | Hono middleware                                     |
| `@wyrly/graphql` | yes      | yes | GraphQL request scope                               |
| `@wyrly/next`    | yes      | yes | Next.js App Router helpers                          |
| `@wyrly/fresh`   | yes      | no  | Fresh 2.x helpers                                   |
| `@wyrly/fastify` | yes      | yes | Fastify 5 `diPlugin` (request scope + auto dispose) |
| `@wyrly/yoga`    | yes      | yes | GraphQL Yoga 5 `yogaDIPlugin`                       |
| `@wyrly/apollo`  | yes      | yes | Apollo Server 4+ `apolloDIPlugin`                   |

## Core package

Install the core package first:

```sh theme={null}
deno add jsr:@wyrly/core
```

or:

```sh theme={null}
npm install @wyrly/core
```

## Add adapters as needed

For a Next.js application:

```sh theme={null}
npm install @wyrly/next @wyrly/core
```

For a Hono application:

```sh theme={null}
deno add jsr:@wyrly/hono jsr:@wyrly/core
```

For an Express application:

```sh theme={null}
npm install @wyrly/express @wyrly/core
```

For a Fastify application:

```sh theme={null}
npm install @wyrly/fastify @wyrly/core
```

or:

```sh theme={null}
deno add jsr:@wyrly/fastify jsr:@wyrly/core
```

For GraphQL Yoga:

```sh theme={null}
npm install @wyrly/yoga @wyrly/core
```

or:

```sh theme={null}
deno add jsr:@wyrly/yoga jsr:@wyrly/core
```

For Apollo Server (peers: `@apollo/server`, `graphql` — see [Framework adapters](/guides/framework-adapters)):

```sh theme={null}
npm install @wyrly/apollo @wyrly/core
```

or:

```sh theme={null}
deno add jsr:@wyrly/apollo jsr:@wyrly/core
```

## Registry links

* [JSR `@wyrly/core`](https://jsr.io/@wyrly/core)
* [npm `@wyrly/core`](https://www.npmjs.com/package/@wyrly/core)
* [GitHub repository](https://github.com/valid-lab/wyrly)
