Structuring Code with ZIO & ZLayers

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

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. zio-magic

    Discontinued Construct ZLayers automagically (w/ helpful compile-time errors)

    I made a lil' library to help a bit with this—sort of macwire just for ZIO https://github.com/kitlangton/zio-magic

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. MacWire

    Zero-cost, compile-time, type-safe dependency injection library.

    One easy reason is that macwire won't be available for Scala 3 (https://github.com/softwaremill/macwire#scala3) 😉

  4. polysemy

    :gemini: higher-order, no-boilerplate monads

    *But I'm not terribly well versed in Scala's other DI offerings. I came from Haskell and didn't find anything in Scala that clicked with me until I found ZIO. It reminded me a lot of my favorite way of writing Haskell programs (https://github.com/polysemy-research/polysemy)—albeit with a completely different implementation.

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

  • Why no scala native IOC containers?

    3 projects | /r/scala | 1 Feb 2022
  • Which would be the scala way of building a modular/plugin based architecture application?

    2 projects | /r/scala | 19 Oct 2021
  • Izumi: Dependency Injection as immutable DAG transform

    1 project | news.ycombinator.com | 1 Dec 2025
  • Dependency Injection in Scala - cake pattern

    4 projects | dev.to | 18 Feb 2023
  • typelevel

    2 projects | /r/scala | 10 Sep 2022

Did you know that Scala is
the 38th most popular programming language
based on number of references?