📄️ Real-World Example
This page walks you through building a production-grade KMP app with Anchor DI using a Clean Architecture + MVVM approach. You'll see how to structure layers, organize modules, and wire everything together. If you're new to KMP or DI, this example provides a concrete template you can follow.
📄️ Testing
Anchor DI provides test support for resetting the container and overriding bindings in tests. This page explains how to use Anchor.reset(), provide mock implementations, and follow best practices when testing code that uses Anchor DI.
📄️ Migrating from Koin
This guide helps you migrate a Kotlin Multiplatform project from Koin to Anchor DI. The biggest change: most errors that Koin discovers at runtime are caught at build time with Anchor DI.
📄️ Performance Benchmarks
Anchor DI is a compile-time DI framework. This page shows how it compares to Koin (a popular runtime DI framework) in real benchmarks.