di-container

Top 12 di-container Open-Source Projects

  • Swinject

    Dependency injection framework for Swift with iOS/macOS/Linux

  • Simple Injector

    An easy, flexible, and fast Dependency Injection library that promotes best practice to steer developers towards the pit of success.

  • Project mention: Modular Dependency Injection in .NET | dev.to | 2024-03-25

    When I was building application with .NET Framework I always used libraries like Autofac and SimpleInjector for dependency injection. I really liked to create modules (Packages in SimpleInjector) to achieve higher cohesion and lower coupling in my class libraries. I made a module for every class library in which all dependencies inside of that class library were registered. Why should my web application (for example) know if MyBeautifulService in MyBeautifulClassLibrary should be transient or singleton?

  • 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
  • Nette DI

    💎 Flexible, compiled and full-featured Dependency Injection Container with perfectly usable autowiring and support for all new PHP 7 features. (by nette)

  • container

    A lightweight yet powerful IoC dependency injection container for the Go programming language (by golobby)

  • DITranquillity

    Dependency injection for iOS (Swift)

  • Aura PHP

    Dependency Injection System

  • react-ioc

    Hierarchical Dependency Injection with new React 16 Context API

  • Project mention: Simplifying Dependency Injection with the Service Container Pattern in ReactJS and Ruby on Rails | dev.to | 2023-05-15

    In a ReactJS application, we can implement the Service Container pattern using a library such as react-ioc. This library provides a simple and lightweight Inversion of Control (IoC) container that can be used to manage application services. Github react-ioc

  • SaaSHub

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

    SaaSHub logo
  • brandi

    The dependency injection container powered by TypeScript.

  • di

    PSR-11 compatible DI container and injector (by yiisoft)

  • Project mention: PHP in 2023? | /r/PHP | 2023-07-10

    The language is not that important, if you know Php, you learn another one in weeks (not you, Rust!) important and source of income is the knowledge of Design patterns and for what implementation to use which specific Pattern. PHP have a great ecosystem regarding design patterns. As there are the psr. Mostly, the Frameworks implement these recommendations: - dependency injection in Symfony, yii and spiral - Data Mapper implemented in doctrine or in cycle-orm.

  • dependency_injection_for_games

    Code accompanying the Medium article "Dependency Injection for Games"

  • Project mention: Dependency Injection for Games — Appendix: Dependency Inversion | dev.to | 2023-09-11

    Check out the accompanying GitHub repository, which contains an implementation of the dummy game application.

  • definitions

    The package provides definition syntax. Definition is describing a way to create and configure a service or an object.

  • di

    Lightweight and easy-to-use dependency injection library for PHP to simplify object management and promote loose coupling. (by commonphp)

  • Project mention: The Evolution of CommonPHP Framework: Thanks to Your Input | /r/PHPhelp | 2023-06-28

    Leading me to - https://github.com/commonphp/di/blob/master/src/ServiceContainer.php

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

di-container related posts

  • The Evolution of CommonPHP Framework: Thanks to Your Input

    3 projects | /r/PHPhelp | 28 Jun 2023
  • Dependency Injection Simplified

    1 project | dev.to | 9 Feb 2023
  • Creating an application in Yii3 - part 4: the final

    9 projects | dev.to | 9 Jan 2023
  • SwiftUI Dependency injection

    2 projects | /r/SwiftUI | 14 Jan 2022
  • Any DI libraries for swift?

    2 projects | /r/swift | 9 Oct 2021
  • How do you guys see PHP and its framworks/CMS in 2025?

    4 projects | /r/PHP | 5 Apr 2021
  • How to modularize a big iOS project

    1 project | dev.to | 14 Feb 2021
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 3 May 2024
    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. Learn more →

Index

What are some of the best open-source di-container projects? This list will help you:

Project Stars
1 Swinject 6,190
2 Simple Injector 1,184
3 Nette DI 854
4 container 533
5 DITranquillity 415
6 Aura PHP 347
7 react-ioc 198
8 brandi 188
9 di 178
10 dependency_injection_for_games 12
11 definitions 12
12 di 5

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com