scaldi / scaldi

Lightweight Scala Dependency Injection Library

Website GitHub

Scaldi

Build Status Maven Central

Scaldi 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. Scaldi also integrates nicely with Akka and Play.

The Scaldi documentation DNS record ownership is in flux. Until that is resolved, 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 Scaldi to Your Build

SBT Configuration:

libraryDependencies += "org.scaldi" %% "scaldi" % "0.6.0"

Scaldi supports Scala 2.11, 2.12 and 2.13.

License

Scaldi is licensed under Apache License, Version 2.0.