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

# Archery Documentation

> Build structured server-side Dart applications with Archery’s explicit application lifecycle, routing, middleware, templates, authentication, and multi-driver ORM.

Archery is a Laravel-inspired web framework built directly on `dart:io`. It provides the structure of a full framework—an application container, service providers, an HTTP kernel, middleware, routing, templates, authentication, sessions, and an ORM—while keeping the runtime explicit and readable.

## When Archery is a good fit

Use Archery when you want to build a server-rendered website, JSON API, internal application, or small service in Dart without assembling the application lifecycle from unrelated packages.

Archery is designed around four ideas:

* **Explicit over magical.** Application startup and request handling remain visible in your code.
* **Framework, not micro-router.** Routing is one part of a larger application structure.
* **Dart-native.** The server runs directly on `dart:io`.
* **Readable and adaptable.** Framework components can be inspected, extended, or replaced through providers and the container.

## What is included

> [card] HTTP application layer
>
> Typed routes, route groups, middleware pipelines, request parsing, response helpers, and static file serving.

> [card] Application core
>
> A service container, provider lifecycle, configuration repository, logging, boot hooks, and resource cleanup.

> [card] Server-rendered views
>
> Blade-style layouts, sections, includes, conditions, loops, escaped output, and CSRF fields.

> [card] Data and security
>
> JSON, SQLite, Postgres, and S3 model storage together with sessions, authentication, password hashing, and CSRF protection.

## Follow the learning path

**1. Install Archery**

Confirm your Dart version, create a project, add the package, and establish the default application directories.

**2. Run the quickstart**

Boot the application, register a route, and serve your first response through the HTTP kernel.

**3. Learn the project structure**

See which directories Archery uses by default and where application code belongs.

**4. Understand the architecture**

Follow startup and an incoming request through the container, providers, middleware, router, and handler.

**5. Build a small application**

Extend the server into a small JSON API with typed parameters and parsed request data.

> [!WARNING]
>
> Archery 1.5.0 is a stable-alpha, early-production release. Its main APIs are usable, but internals and security hardening continue to evolve toward 2.0. Evaluate and load-test the framework for your workload before using it for mission-critical infrastructure.

> [card] [Install Archery](https://docs.webarchery.dev/getting-started/installation.md)
>
> Prepare a new Dart project and add the framework.

> [card] [Quickstart](https://docs.webarchery.dev/getting-started/quickstart.md)
>
> Run your first Archery server.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.