# Koin

> Pragmatic dependency injection for Kotlin and Kotlin Multiplatform

Source: https://talira.ai/catalog/koin-4fbkxvtn
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / dependency injection](https://talira.ai/categories/libraries/dependency-injection)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Kotzilla](https://talira.ai/orgs/kotzilla.md)

Koin is a dependency injection framework for Kotlin and Kotlin Multiplatform, from Android apps and Compose Multiplatform to Ktor backends. You declare modules in a small Kotlin DSL (or with annotations and a compiler plugin), start Koin and inject dependencies, with support for Android ViewModels, Jetpack Compose and JUnit tests. It is developed by Kotzilla and open source contributors under the Apache 2.0 licence.

## Links

- Website: https://insert-koin.io/
- GitHub: https://github.com/InsertKoinIO/koin
- Docs: https://insert-koin.io/docs/quickstart/kotlin

## Problems it solves

- dependency injection for my Kotlin Multiplatform app
- a lighter alternative to Dagger for an Android app in Kotlin
- inject dependencies into a Ktor server without code generation

## Features

- Kotlin DSL for modules
- annotations and a compiler plugin
- Android, Compose, Kotlin Multiplatform and Ktor support
- testing helpers for JUnit

## Trust

Overall: 0.54 out of 1.
Signals: maintenance 0.52, adoption 0.80, momentum 0.59, community 0.92, backing 0.30, extensibility 0.00.

- last commit 32 days ago
- 10 commits in the last 90 days
- latest release 4.2.2 5 months ago
- 10.0k GitHub stars
- 201 contributors
- accepts sponsorship (Open Collective)
- backed by Kotzilla

## Alternatives

- [Dagger](https://talira.ai/catalog/dagger-bpve3vgz.md): A fast dependency injector for Android and Java
- [Guice](https://talira.ai/catalog/guice-ctn65c1s.md): Google's lightweight dependency injection framework for Java

## Sources

[^1]: https://github.com/InsertKoinIO/koin/blob/main/LICENSE (checked 28 Nov 2026)
