Yet another DI library, bit this time it's not a service locator

This page summarizes the projects mentioned and recommended in the original post on /r/Kotlin

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • dikt

    Simple and powerful DI for kotlin multiplatform

  • kotlin-inject

    Dependency injection lib for kotlin

  • Interesting! Author of kotlin-inject here, I had originally looked at writing a compiler plugin and using IR but the lack of documentation and a non-stable api scared me away. Cool that you were able to get it to work.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • motif

    A simple DI API for Android / Java (by uber)

  • Looks neat. I'm a maintainer on Uber's Motif and we've been eyeing KSP or compiler plugin support in a future version.

  • Kodein

    Painless Kotlin Dependency Injection

  • Long answer: My pain mostly comes from using [Kodein](https://github.com/Kodein-Framework/Kodein-DI/) and a custom service locator in an iOS/Swift project. Other than that I have very little experience with DI (e.g. I never used Dagger so far), so my opinion might be a little biased. Also, both of these projects are really large, so, in many cases, a class is declared in one module but used in a completely different module and the DI or service locator is sort of the glue between the modules.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Kodein VS MocKMP - a user suggested alternative

    2 projects | 9 Nov 2022
  • Kotlin Multiplatform and Swift - Overcoming Interoperability Challenges for Multiplatform Development

    1 project | dev.to | 16 Jul 2023
  • [Typescript] Quelqu'un peut-il suggérer une bibliothèque d'injection de dépendance simple pour TypeScript / JavaScript?

    1 project | /r/enfrancais | 28 Apr 2023
  • Best Practices When Splitting Compose Functions Into Separate Files

    2 projects | /r/androiddev | 21 Mar 2023
  • KVision 6.0.0 is released

    3 projects | dev.to | 31 Dec 2022