protenus-old / dipendi   0.6.0

Apache License 2.0 GitHub

Lightweight Scala Dependency Injection Library

Scala versions: 2.13 2.12 2.11


Build Status Maven Central

Dipendi provides a simple and elegant way to do dependency injection in Scala. By using the expressive power of the Scala language, it defines an intuitive and idiomatic DSL for binding and injecting dependencies. It is a highly extensible library; you can easily customise almost any aspect of it. Some of its more unique features are advanced module composition and conditional bindings, which can help you build all kinds of applications - from small command-line tools to large web applications. Dipendi also integrates nicely with Akka and Play.

Dipendi is a fork of Scaldi, created to continue the library's development in lieu of a new maintainer who can access the Scaldi repository (see scaldi/scaldi#81).

The Scaldi documentation is still being migrated. Until that is complete, you may need to rely on the original project's documentation.

You can find an archive of the original project's homepage here, or jump directly to the documentation here. Due to it being an archived website, some of the links on it may not work properly.

Adding Dipendi in Your Build

SBT Configuration:

libraryDependencies += "com.protenus" %% "dipendi" % "0.6.0"

Dipendi supports Scala 2.11, 2.12 and 2.13, and is a drop-in replacement for Scaldi.


Dipendi is licensed under Apache License, Version 2.0.