angel3_framework
10.0.1, released 3 weeks ago by dukefirehawk.com
A high‑powered Dart HTTP server framework with DI, routing and extensible plugins.
What it does
Provides a minimal core for building server‑side applications, offering dependency injection, sophisticated routing, middleware, and optional features like authentication, ORM, and GraphQL via plugins. It runs on the Dart VM and can be compiled AOT without mirrors.
AI-written summary of version 10.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a full‑stack Dart backend with customizable plugins
- You want DI and flexible routing on the server side
- You prefer a framework that can be AOT‑compiled for production
Skip it when
- You are building only a Flutter client app
- You need a lightweight client‑side HTTP client rather than a server
Strengths
- Extensible through many plugin packages
- Supports DI and advanced routing out of the box
- Works with AOT compilation and without dart:mirrors
Weaknesses
- Primarily server‑side, not useful for Flutter UI code
- Learning curve due to many optional plugins
- Documentation focuses on server use cases
Setup
- Kind
- Pure Dart
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 24
Add angel3_framework to pubspec, optionally add angel3_cli for project scaffolding; no native permissions required
import 'package:angel3_framework/angel3_framework.dart';
import 'package:angel3_framework/http.dart';
void main() async {
var app = Angel();
app.get('/', (req, res) => 'Hello World');
var http = AngelHttp(app);
await http.startServer('127.0.0.1', 3000);
print('Listening at ${http.uri}');
}Alternatives
Packages that do the same job and could replace angel3_framework.
- shelf_router
A lightweight router for the Shelf server ecosystem, easier to integrate if you already use Shelf
92Compare
Works with
Packages commonly used together with angel3_framework: ones it builds on, ones built on it, and its own family.
- uuidangel3_framework depends on itGenerates and parses RFC‑4122/9562 UUIDs (v1‑v8) for Dart.
- mimeangel3_framework depends on itUtilities to resolve MIME types from file names, magic bytes, and to parse multipart streams.
- stack_traceangel3_framework depends on itProvides parsing, inspection, and readable formatting of Dart stack traces.
- matcherangel3_framework depends on itSupport for specifying test expectations via an extensible Matcher class.
- string_scannerangel3_framework depends on itA class for parsing strings using a sequence of patterns.
- http_parserangel3_framework depends on itA platform-independent package for parsing and serializing HTTP formats.
- fileangel3_framework depends on itPluggable, mockable file system abstraction for Dart with in-memory support.
- loggingangel3_framework depends on itProvides configurable logging with levels and stream listeners for Dart apps.