Dependency injection
Dependency injection (DI) is an implementation of the dependency inversion principle with the aim of separation of concerns by separating the depndency’s implementation from the class that’s using it. That kind of abstraction makes it possible to have different implementations with the same public methods so the class using it, doesn’t need to care which of the implementations is used. This is also especially useful for unit testing.
There are different types of dependency injection:
- GitHub: https://github.com/topics/dependency-injection
- Wikipedia: https://en.wikipedia.org/wiki/Dependency_injection
- Created by: Martin Fowler
- Released: January 23, 2004
- Related Topics: separation-of-concerns, loose-coupling, dependency-inversion-principle, inversion-of-control, constructor-injection, service-locator-pattern, dependency-injection-container,
- Aliases: dependency-injection-pattern,
- Last updated: 2026-06-15 00:08:08 UTC
- JSON Representation
https://github.com/quickbirdeng/xservicelocator
Light-weight Service Locator / Dependency Injection library for Swift: providing objects with the dependencies they need throughout your whole iOS app.
dependency-injection dependencyinjection framework ios library service-locator servicelocator swift
Last synced: 23 Jun 2025
https://github.com/enisn/dotnurseinjector
Simple, lightweight & useful Dependency Injector for dotnet.
attribute-injection csharp dependency-injection dependency-injector dotnet dotnet-core injector ioc
Last synced: 23 Mar 2025
https://github.com/neo-ciber94/dilib-rs
A dependency injection library for Rust
Last synced: 16 Mar 2025
https://github.com/bocadilloproject/aiodine
🧪 Async-first Python dependency injection library
async asyncio dependency-injection library python
Last synced: 24 Mar 2025
https://github.com/i4004/simplify
Moved to https://github.com/SimplifyNet. Simplify is a set of .NET libraries that provide infrastructure for your applications. DI and mocking friendly.
backend-framework c-sharp dependency-injection dot-net dot-net-core fluentnhibernate ioc-container mono-support repository-pattern simplify smtp-client windows-services xml-serialization
Last synced: 04 Oct 2025
https://github.com/jamessedlacek/dependencyinjectable
Lightweight SwiftUI Dependency Injection Library
container dependency-injection environment-variables swift swift-package-manager swiftui
Last synced: 15 Jul 2025
https://github.com/ehacke/ts-di-starter
Node Typescript pattern with Dependency Injection
dependency-injection starter-kit typescript
Last synced: 01 Mar 2026
https://github.com/teamhide/pythondi
Python lightweight dependency injection library
dependency-injection inversion-of-control ioc-container python
Last synced: 26 Aug 2025
https://github.com/manuel-mauky/easydi
Easy Dependency Injection for Java
dependency-injection di-framework java
Last synced: 12 Apr 2025
https://github.com/ikalnytskyi/picobox
Dependency injection framework designed with Python in mind.
dependency-injection inversion-of-control lightweight micro-framework
Last synced: 05 Apr 2025
https://github.com/bugthesystem/autofac.extras.nlog
An Autofac module to integrate Autofac and NLog, it supports both constructor and property injection.
autofac c-sharp dependency-injection nlog
Last synced: 15 Mar 2026
https://github.com/cmtt/dijs
JavaScript dependency injection for Node and browser environments.
dependency-injection javascript javascript-dependency-injection
Last synced: 09 Jul 2025
https://github.com/magic003/alice
An additive dependency injection container for Golang.
dependency-injection golang ioc-container
Last synced: 12 Jan 2026
https://github.com/ekiro/haps
Pure Python dependency injection library
annotations dependency-injection python python3
Last synced: 10 Aug 2025
https://github.com/sczerwinski/android-hilt
Extensions for Dagger Hilt
android dependency-injection hilt
Last synced: 15 Jun 2025
https://github.com/tolgaozen/go-gotham
Golang RESTful API Boilerplate.
boilerplate dependency-injection dependency-injection-container golang-api golang-api-examples golang-boilerplate golang-framework jwt-authentication policies service-pattern singleton-pattern solid-principles strategy-pattern
Last synced: 21 Mar 2025
https://github.com/LucasMendesl/express-decorator-router
:zap: use decorators in a simple way without transpiling javascript code
dependency-injection express-decorators expressjs inversion-of-control nodejs routing-decorators without-transpiling
Last synced: 09 Sep 2025
https://github.com/bkonkle/nakago
A lightweight async dependency injection toolkit for Rust
async dependency-injection graphql http rust
Last synced: 05 Apr 2025
https://github.com/lucasmendesl/express-decorator-router
:zap: use decorators in a simple way without transpiling javascript code
dependency-injection express-decorators expressjs inversion-of-control nodejs routing-decorators without-transpiling
Last synced: 30 Apr 2025
https://github.com/sanic-org/sanic-ext
Extended Sanic functionality
cors dependency-injection openapi plugin sanic
Last synced: 06 Apr 2025
https://github.com/mindplay-dk/unbox
Fast, simple, easy-to-use DI container
dependency-injection di-container php
Last synced: 20 Aug 2025
https://github.com/karambirov/githubsearch
GitHub iOS client with minimum third-party dependencies.
clean-architecture dependency-injection github-api githubsearch ios navigator networking no-dependencies persistence rest-api router swift swiftlint
Last synced: 14 Jan 2026
https://github.com/devkimchi/vue.js-with-asp.net-core-sample
This provides a sample code using vue.js running on ASP.NET Core
asp-net-core cognitive-services dependency-injection geolocation getusermedia inversifyjs ioc-container ocr typescript vue-cli vuejs
Last synced: 14 Apr 2025
https://github.com/needle-di/needle-di
A lightweight, type-safe Dependency Injection (DI) library for JavaScript and TypeScript projects
dependency-injection typescript
Last synced: 02 Mar 2025
https://github.com/darkleaf/di
DI is a dependency injection framework that allows you to define dependencies as cheaply as defining function arguments.
aop clojure dependency-injection ioc-container state-management
Last synced: 06 Apr 2025
https://github.com/vue-ioc/vue-ioc
IoC and DI for Vue powered by InversifyJS and inspired by Angular Module syntactic sugar.
dependency-injection inversifyjs inversion-of-control ioc typescript vue
Last synced: 02 Aug 2025
https://github.com/chrynan/inject
A simple Kotlin multi-platform abstraction around the javax.inject annotations.
dependency-injection inject injection kotlin kotlin-library kotlin-multi-platform kotlin-multiplatform
Last synced: 29 Jul 2025
https://github.com/yandex/city-services-pub
Dart and Flutter libraries created by Yandex City Services Team
dart dependency-injection flutter scopes
Last synced: 11 Jul 2025
https://github.com/contributte/di
:sparkles: Extra contrib to nette/di (@nette)
autoloader contributte dependency-injection nette nette-framework
Last synced: 09 Oct 2025
https://github.com/karambirov/GitHubSearch
GitHub iOS client with minimum third-party dependencies.
clean-architecture dependency-injection github-api githubsearch ios navigator networking no-dependencies persistence rest-api router swift swiftlint
Last synced: 18 Jul 2025
https://github.com/thekashey/react-remock
Get any Component replaced. Anywhere. 🛠♻️
dependency-injection mock mocking mocking-library react testing
Last synced: 13 Jun 2025
https://github.com/modern-python/modern-di
Powerful DI-framework with scopes
dependency-injection di ioc ioc-container mocks python scopes
Last synced: 23 Feb 2026
https://github.com/mylxsw/go-ioc
Go-IOC is a runtime dependency injection library for Go
container dependency-injection di golang
Last synced: 12 Aug 2025
https://github.com/tattn/diattribute
Introduce dependency injection attribute (@Inject)
dependency-injection ios swift
Last synced: 14 Apr 2025
https://github.com/jangbl/node-dependency-injection
Express app that uses awilix for dependency injection
awilix awilix-express dependency-injection dependency-injection-container dependency-injection-framework inversion inversion-of-control-container node node-dependency-injection
Last synced: 05 Mar 2026
https://github.com/yiisoft/injector
PSR-11 compatible injector
dependency-injection hacktoberfest injector psr-11 yii3
Last synced: 07 Apr 2025
https://github.com/pjechris/annotationinject
Compile-time Swift dependency injection annotations
annotations cocoapods compile-time dependency-injection injection injection-container safety sourcery swift swinject
Last synced: 11 Dec 2025
https://github.com/loresoft/kickstart
Application initialization helper
autofac automapper c-sharp container-registration dependency-injection ioc-container registered-services simpleinjector startup
Last synced: 04 Apr 2025
https://github.com/lookyman/phpstan-symfony
*DEPRECATED* Symfony extension for PHPStan
controller dependency-injection php php7 phpstan static-analysis symfony
Last synced: 07 Oct 2025
https://github.com/Karambirov/GitHubSearch
GitHub iOS client with minimum third-party dependencies.
clean-architecture dependency-injection github-api githubsearch ios navigator networking no-dependencies persistence rest-api router swift swiftlint
Last synced: 02 May 2025
https://github.com/udoprog/async-injector
Reactive dependency injection for Rust.
async dependency-injection reconfigure rust
Last synced: 05 Apr 2025
https://github.com/cmtt/gulp-di
gulp-di is a dependency injection framework for the Gulp streaming build system.
dependency-injection gulp-plugins javascript javascript-dependency-injection
Last synced: 24 Apr 2025
https://github.com/eyhn/ddi
Dynamic dependency injection library for rust.
dependency-injection rust rustlang
Last synced: 10 Apr 2025
https://github.com/rrifafauzikomara/youtube_video
[Flutter SDK V.2] - Youtube Video is a Flutter application built to demonstrate the use of Modern development tools with best practices implementation like Clean Architecture, Modularization, Dependency Injection, BLoC, etc.
bloc clean-architecture dependency-injection dio flutter-app melos modularization
Last synced: 06 Jul 2025
https://github.com/unnamed/inject
A fast and very lightweight dependency injection library for Java 8+
dependency-injection dependency-injection-framework di di-framework java java8 library
Last synced: 12 Apr 2025
https://github.com/LinkedSoftwareDependencies/Components.js
🧩 A semantic dependency injection framework
dependency-injection inversion-of-control javascript linked-data typescript
Last synced: 19 Jul 2025
https://github.com/jillesvangurp/spring-depend
Tool for getting a spring bean dependency graph
dependency-graph dependency-injection java-8 neo4j spring
Last synced: 02 May 2025
https://github.com/vladhrapov/injectify
Dependency injection packages for UWP projects.
autofac dependency-injection di-framework dotnet injectify microsoft-dependency-injection net-standard uwp winui2
Last synced: 10 Apr 2025
https://github.com/inversiland/inversiland
🎡 InversifyJS framework to manage dependencies elegantly.
dependency-injection dependency-injection-container dependency-injection-framework extenject inversify inversifyjs inversion-of-control ioc ioc-container nestjs ninject solid typescript zenject
Last synced: 09 Oct 2025
https://github.com/yandex/yx_scope
yx_scope is a compile-safe DI framework with advanced scoping capabilities
dart dependency-injection flutter scopes
Last synced: 12 Apr 2025
https://github.com/autofac/autofac.configuration
Configuration support for Autofac IoC
autofac c-sharp configuration dependency-injection ioc-container netcore netstandard
Last synced: 20 Aug 2025
https://github.com/manuelroemer/files
A modern, immutable, async-first, DI-friendly abstraction of hierarchical file systems with a consistent and developer friendly API that allows seamless switching between multiple underlying file system manifestations, while also fixing and hiding the flaws and inconsistencies of the wrapped APIs.
async consistency cross-platform dependency-injection di file fs in-memory io mocks system testing uwp vfs
Last synced: 13 Apr 2025
https://github.com/zerkalica/reactive-di
Extensible hierarchical dependency injection container with flowtype interface support
atom context dependency-injection lom-atom mobx mobx-react react reactive-programming state-management
Last synced: 29 Aug 2025
https://github.com/austinjones/lifeline-rs
A dependency injection library for message-based applications
async async-await channels dependency-injection lifeline rust tokio
Last synced: 06 Apr 2026
https://github.com/agoda-com/agoda.ioc
C# IoC extension library, used at Agoda for Registration of classes into IoC container based on Attributes.
csharp dependency-injection dotnet-core ioc
Last synced: 08 Apr 2025
https://github.com/k1r0s/kaop
Advanced OOP Library with createClass, inheritance, providers, injectors, advices which enables handy Inversion of Control techniques
aop-architecture aop-aspects aspect-oriented-programming composition dependency-injection inheritance object-oriented-programming reflection
Last synced: 20 Jun 2025
https://github.com/cspray/annotated-container
Dependency Injection framework to configure a PSR-11 Container with Attributes!
annotated-container dependency-injection php php8 psr-11
Last synced: 09 Apr 2025
https://github.com/studyzy/iocgo
A lightweight Inversion of Control (IoC) (Dependency Injection) container for Golang
dependency-injection go golang inversion-of-control ioc ioc-container
Last synced: 10 Mar 2026
https://github.com/dazinator/dazinator.extensions
Useful additions to Microsoft.Extensions.DependencyInjection such as Named Services.
dependency-injection microsoft-extensions
Last synced: 25 Mar 2025
https://github.com/adrielcafe/nomanswallpaperapp
Looking for your next No Man's Sky wallpaper?
android android-app android-application android-architecture-components android-jetpack buy-me-a-coffee coroutines dependency-injection fastadapter in-app-purchase koin kotlin kotlin-android kotlin-coroutines moshi mvvm mvvm-architecture mvvm-pattern no-mans-sky nomanskygame
Last synced: 23 Apr 2025
https://github.com/inpsyde/wp-app-container
DI Container and related tools to be used at website level.
dependency-injection dependency-injection-container dic pimple wordpress wp
Last synced: 30 Jun 2025
https://github.com/dazinator/Dazinator.Extensions
Useful additions to Microsoft.Extensions.DependencyInjection such as Named Services.
dependency-injection microsoft-extensions
Last synced: 27 Mar 2025
https://github.com/Ivy-Apps/di
A simple DI library for Kotlin Multiplatform apps.
dependency-injection di-container kmp kmp-library kotlin kotlin-js kotlin-jvm kotlin-library kotlin-multiplatform kotlin-native lightweight service-locator
Last synced: 25 Aug 2025
https://github.com/fs02/wire
Strict Runtime Dependency Injection for Golang
dependency-injection dependency-injection-container golang
Last synced: 08 May 2025
https://github.com/Fs02/wire
Strict Runtime Dependency Injection for Golang
dependency-injection dependency-injection-container golang
Last synced: 14 Mar 2025
https://github.com/kawser2133/clean-structured-api-project
The "Clean Structured API Project" is a template designed to create well-organized and maintainable ASP.NET Core API applications. It follows RESTful principles, Clean Architecture and SOLID principles, implements the Dependency Injection, Repository, and Unit of Work design pattern, and utilizes Entity Framework Core for data access.
asp-net-core clean-architecture clean-code crud-api crud-application crud-operation dependency-injection entity-framework-core microservice repository-pattern rest-api solid-design-principles unitofwork-pattern web-api
Last synced: 14 Jun 2025
https://github.com/ragokan/okito
Your best flutter coding friend. All in one; state management, navigation management(with dynamic routing), local storage, localization, dependency injection, cool extensions with best usages and with the support of best utilities!
class cleaner-widgets dart dependency-injection flutter minimum navigation-management okito okitox route-management state state-management store watch-controller
Last synced: 28 Apr 2025
https://github.com/sibeeshvenu/perfect-scheduler
Windows service using Asp.Net core to create zip file and upload to the Azure blob storage daily, weekly, monthly using Quartz with Dependency Injection, NLog, You also have an option to use any database to save the scheduler information so that it is persistent
asp-net-core aspnetcore azure azure-blob azure-blob-storage csharp database dependency-injection quartz quartz-database quartz-scheduler threading timer windows-service
Last synced: 05 Apr 2025
https://github.com/laminas/laminas-di
Automated dependency injection for PSR-11 containers
Last synced: 02 Jul 2025
https://github.com/nurlanvalizada/nlbinjecto
Custom, lightweight, extensible, and testable dependency injection (DI) container for .NET applications. Built from scratch to help you understand DI internals, customize registrations, and extend behavior beyond the built-in .NET DI framework
aspnetcore csharp dependency-injection dotnet
Last synced: 14 Jan 2026
https://github.com/graniticio/granitic
Web/micro-services and IoC framework for Golang developers
application-framework application-server configuration-management dependency-injection devops golang inversion-of-control ioc iot json microservice microservices scheduler validation webservices xml
Last synced: 12 Jan 2026
https://github.com/logrange/linker
Dependency Injection and Inversion of Control package
dependency-injection injector ioc-framework lifecycle
Last synced: 16 Jan 2026
https://github.com/reinterpretcat/csharp-libs
This repository contains my own C# libraries which I used for different projects in the past
c-sharp dependency-injection rx straight-skeleton
Last synced: 26 Mar 2025
https://github.com/eranboudjnah/solid
Solid Android components
activity android android-library dependency-injection dry fragment kotlin recyclerview solid solid-components
Last synced: 08 May 2025
https://github.com/lcobucci/di-builder
A library that makes easier the creation of compiled containers using Symfony DI
dependency-injection hacktoberfest
Last synced: 21 Aug 2025
https://github.com/ievangelist/pwned-client
A .NET HTTP client library for the "';-- Have I Been Pwned" API: https://haveibeenpwned.com/api/v3
csharp dependency-injection dotnet hacktoberfest hibp hibp-api hibpwned http-client pwned pwned-api pwned-passwords pwnedpasswords
Last synced: 04 Oct 2025
https://github.com/lonnng/nex
Aiming to simplify the construction of JSON API service
dependency-injection golang handler http microservice middleware webservice
Last synced: 05 Apr 2025
https://github.com/lundegaard/redux-tools
💪 Maintaining large Redux applications with ease.
dependency-injection react reducer redux redux-actions redux-observable
Last synced: 06 Apr 2025
https://github.com/injectablerb/injectable
Opinionated and declarative Dependency Injection library for ruby.
Last synced: 23 Aug 2025
https://github.com/rubiconmd/injectable
Opinionated and declarative Dependency Injection library for ruby.
Last synced: 07 May 2025
https://github.com/mo7amedaliebaid/islamic
This is a flutter Islamic App with Complete Quran, Prayer time Api, Hadith and Azkar.
bloc clean-architecture dart dartz dependency-injection floor flutter flutter-app flutter-ui geocoding islami islamic islamic-prayer-times localization prayer-times quran retrofit sharedpreferences sqflite wakelock
Last synced: 19 Jul 2025
https://github.com/tomyitav/graphql-server-typed
Using typescript and gql-code-gen for easy graphql setup
apollo-server dependency-injection graphql mvc-architecture nodejs typescript
Last synced: 15 Jul 2025
https://github.com/lonng/nex
Aiming to simplify the construction of JSON API service
dependency-injection golang handler http microservice middleware webservice
Last synced: 10 Jul 2025
https://github.com/clancats/container
🚀 PHP Service Container with fast and cachable dependency injection.
container dependency-injection packagist psr-11
Last synced: 26 Apr 2025
https://github.com/inversify/inversify-vanillajs-helpers
Some helpers for the development of InversifyJS applications with VanillaJS or Babel
dependency-injection es6-javascript inversifyjs inversion-of-control javascript
Last synced: 28 Jun 2025
https://github.com/cult-of-coders/react-molecule
Molecule is a light-weight framework that lets you reason about inter-component communication, dependency injection and logic decoupling.
dependency-injection flux react reactjs
Last synced: 25 Jul 2025
https://github.com/EvaEngine/EvaEngine.js
A micro service development engine for node.js
async-await cli dependency-injection distributed es2017 framework microservice nodejs orm sequelize swagger
Last synced: 09 May 2025
https://github.com/lsoft/DpdtInject
Highly efficient compile-time general purpose DI container based on C# source generators.
csharp csharp-sourcegenerator dependency-injection di-container di-framework inversion-of-control ioc performance source-generators sourcegenerator visual-studio-extension vsix-extensions
Last synced: 08 May 2025
https://github.com/nfroidure/whook
Build strong and efficient REST web services.
dependency-injection hacktoberfest openapi openapi3 rest-api router server
Last synced: 07 Apr 2025
https://github.com/brainhubeu/sqrs
🚌SQRS is a JavaScript library for implementing CQRS pattern.
command cqrs cqs dependency-injection inversify javascript jest lerna query typedoc typescript
Last synced: 30 Apr 2025
https://github.com/alecthomas/inject
Guice-ish dependency injection for Go.
dependency-injection go injection
Last synced: 13 Jun 2025
https://github.com/ljacqu/dependencyinjector
Lightweight dependency injector
application-initializer dependency dependency-injection injection injector ioc ioc-container java
Last synced: 21 Aug 2025
https://github.com/contributte/cookbook
:notes: Cookbook for Nette Framework (@nette) & Contributte (@contributte). Read it while its HOT!
configuration contributte dependency-injection documentation manual neon nette nette-framework php services
Last synced: 25 Oct 2025
https://github.com/1amageek/injectable
Dependency Injection for Swift
dependency dependency-injection inject injection swift
Last synced: 17 Aug 2025
https://github.com/gluonhq/ignite
Gluon Ignite creates a common abstraction over several popular dependency injection frameworks. With this library, developers can use popular dependency injection frameworks in their JavaFX applications, including inside their FXML controllers.
Last synced: 10 Oct 2025
https://github.com/tim-maes/bindicate
An autowiring library for .NET.
attributes autowiring csharp dependency dependency-injection injection ioc ioc-con ioc-container net8 service-collection services
Last synced: 11 Oct 2025
https://github.com/scalalandio/pulp
Scala library for guiceless dependency injection
dependency-injection implicits macros scala
Last synced: 24 Apr 2025
https://github.com/jenssegers/lean
Use the PHP League's Container package with auto-wiring support as the core container in Slim 3
container-interop dependency-injection league php-league slim
Last synced: 14 Apr 2025
https://github.com/mgdigital/tsinject
Lightweight dependency injection container for TypeScript
dependency-injection ioc javascript nodejs typescript
Last synced: 16 Jan 2026