insertkoinio/koin

Koin - a pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 2 minutes ago
Added to GitGenius on September 6th, 2026
Created on June 6th, 2017
Open Issues & Pull Requests: 73 (+0)
GitHub issues: Enabled
Number of forks: 787
Total Stargazers: 10,019 (+0)
Total Subscribers: 105 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

Koin is a pragmatic, lightweight dependency injection framework for Kotlin and Kotlin Multiplatform projects.

Koin addresses the need for runtime dependency management in Kotlin applications by providing a concise, idiomatic DSL for defining and injecting dependencies. The framework operates through module-based configuration where developers declare bindings in a readable syntax, then retrieve instances through the Koin container at runtime. A key distinguishing feature is compile-time safety via the Koin Compiler Plugin, which verifies the dependency graph during compilation to catch missing bindings, broken definitions, and misconfigured modules before the app runs, eliminating a class of runtime crashes while preserving the framework's minimal boilerplate approach.

Koin suits teams building Kotlin or Kotlin Multiplatform applications who want dependency injection without the verbosity of annotation-heavy frameworks. It works well for Android projects, backend services, and multiplatform libraries where a lightweight, straightforward DI solution is preferred over more complex alternatives. The framework is particularly valuable for projects adopting the compiler plugin, as compile-time verification significantly reduces debugging effort in production environments. Teams requiring enterprise-grade support and long-term stability guarantees can opt for Koin LTS, which is backed by commercial support.

The project maintains active community engagement through multiple channels including a dedicated Slack community and Stack Overflow presence. Development includes tooling investments beyond the core framework, such as a JetBrains IDE plugin offering navigation and inspections for Koin code, and integration with the Kotzilla observability platform for monitoring Koin module behavior and performance across Kotlin Multiplatform targets. The framework is developed by Kotzilla alongside open-source contributors, with enterprise support available for production deployments.