An open API service indexing awesome lists of open source software.

https://github.com/insertkoinio/koin

Koin - a pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform
https://github.com/insertkoinio/koin

android dependency-injection injection kotlin kotlin-multiplatform kotlin-multiplatform-library library

Last synced: 6 days ago
JSON representation

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

Awesome Lists containing this project

README

          

![logo](./docs/img/koin_main_logo.png)

[![Kotlin](https://img.shields.io/badge/Kotlin-2.2.21-blue.svg?style=flat&logo=kotlin)](https://kotlinlang.org)
![Github Actions](https://github.com/InsertKoinIO/koin/actions/workflows/build.yml/badge.svg)
[![Apache 2 License](https://img.shields.io/github/license/InsertKoinIO/koin)](https://github.com/InsertKoinIO/koin/blob/main/LICENSE.txt)
[![Slack channel](https://img.shields.io/badge/Chat-Slack-orange.svg?style=flat&logo=slack)](https://kotlinlang.slack.com/messages/koin/)

[![Free Monitoring](https://img.shields.io/badge/Kotzilla.io-Free%20Monitoring-brightgreen?style=flat&logo=kotlin&logoColor=white)]([https://forms.gle/YOUR-FORM-ID](https://bit.ly/koin_opensource_monitoring))

# What is KOIN? ✨

Koin is a pragmatic, lightweight dependency injection framework for Kotlin developers, developed by [Kotzilla](https://kotzilla.io) and open-source [contributors](https://github.com/InsertKoinIO/koin/graphs/contributors).

`Koin is a DSL, a light container and a pragmatic API`

## Setup & Current Version 📦

Follow the dedicated [setup page](https://insert-koin.io/docs/setup/koin) to setup Koin for your project.
Here are the currently available Koin versions:

- **Stable** Version : [![Maven Central](https://img.shields.io/maven-central/v/io.insert-koin/koin-core/4.1.1)](https://mvnrepository.com/artifact/io.insert-koin/koin-core/4.1.1)
- **Unstable** Version : [![Maven Central](https://img.shields.io/maven-central/v/io.insert-koin/koin-core)](https://mvnrepository.com/artifact/io.insert-koin/koin-core)

Take a look at:
- [Release Upgrade Guide](https://insert-koin.io/docs/support/releases) to anticipate your next version upgrade.
- [Versioning](https://insert-koin.io/docs/support/)
- [API Stability](https://insert-koin.io/docs/support/api-stability)

## Community & Enterprise Support 💬

- Come talk on slack [#koin](https://kotlinlang.slack.com/?redir=%2Fmessages%2Fkoin) channel
- Post your question on [Stackoverflow](https://stackoverflow.com/questions/tagged/koin)
- Found a bug or a problem? Open an issue on [Github issues](https://github.com/InsertKoinIO/koin/issues)
- Opt into [Koin 3.5 LTS](https://kotzilla.io/koin-lts) SLA-backed updates, long-term maintenance, and direct access to Kotzilla experts

## Debugging & Performance Monitoring 🛠️

- **Koin Plugin** can be freely downloaded on [Jetbrains Marketplace](https://plugins.jetbrains.com/plugin/26131-koin-dependency-injection-official-/versions/stable)
> The pragmatic Kotlin and Kotlin Multiplatform Dependency Injection framework now with native support for IntelliJ IDEA and Android Studio.

- **Kotzilla Platform** Free signup on [Kotzilla](https://kotzilla.io)
> is a console-based suite with connected cloud services that visualizes your Koin module structure, monitors runtime performance and memory metrics, provides advanced debugging and tracing, and seamlessly integrates with Kotlin Multiplatform projects.

### 🚀 Free Monitoring for Koin Apps

Kotzilla.io — the team behind [Koin](https://insert-koin.io) — offers **free monitoring** for any open source Android or KMP app using Koin and published on the Google Play Store.

👉 [Apply for Free Monitoring](https://bit.ly/koin_opensource_monitoring)

## Latest News & Resources 🌐
- Official Website: [insert-koin.io](https://insert-koin.io)
- Twitter: [@insertkoin_io](https://twitter.com/insertkoin_io)
- Blog: [Koin Developers](https://blog.insert-koin.io)
- Newsletter: [Koin Newsletter](https://bit.ly/koin_newsletter)

## Koin Tutorials 🚀

You can find here tutorials to help you learn and get started with the Koin framework:
- [Kotlin](https://insert-koin.io/docs/quickstart/kotlin)
- [Kotlin with Koin Annotations](https://insert-koin.io/docs/quickstart/kotlin-annotations)
- [Android](https://insert-koin.io/docs/quickstart/android-viewmodel)
- [Android with Koin Annotations](https://insert-koin.io/docs/quickstart/android-annotations)
- [Android Jetpack Compose](https://insert-koin.io/docs/quickstart/android-compose)
- [Kotlin Multiplatform](https://insert-koin.io/docs/quickstart/kmp)
- [Ktor](https://insert-koin.io/docs/quickstart/ktor)

## Contributing 🛠

Want to help or share a proposal about Koin? Problem with a specific feature?

- Open an issue to explain the issue you want to solve [Open an issue](https://github.com/InsertKoinIO/koin/issues)
- Come talk on slack [#koin-dev](https://kotlinlang.slack.com/?redir=%2Fmessages%2Fkoin-dev) channel
- After discussion to validate your ideas, you can open a PR or even a draft PR if the contribution is a big one [Current PRs](https://github.com/InsertKoinIO/koin/pulls)

Additional readings about basic setup: https://github.com/InsertKoinIO/koin/blob/master/CONTRIBUTING.adoc

### Contributors

Thank you all for your work! ❤️



## OpenCollective - Sponsorship ❤️

Support this project by becoming a sponsor and be displayed on the offcial website. [[Help us and Become a sponsor!](https://opencollective.com/koin#sponsor)]