Displaying 1 to 20 from 26 results

Swinject - Dependency injection framework for Swift with iOS/macOS/Linux

  •    Swift

Swinject is a lightweight dependency injection framework for Swift. Dependency injection (DI) is a software design pattern that implements Inversion of Control (IoC) for resolving dependencies. In the pattern, Swinject helps your app split into loosely-coupled components, which can be developed, tested and maintained more easily. Swinject is powered by the Swift generic type system and first class functions to define dependencies of your app simply and fluently.

Typhoon - Powerful dependency injection for iOS & OSX (Objective-C & Swift)

  •    Objective-C

Powerful dependency injection for Cocoa and CocoaTouch. Lightweight, yet full-featured and super-easy to use. Visit the Typhoon website for an introduction. There's also a nice intro over at Big Nerd Ranch, or here's an article, by John Reid. Quite a few books have been written on the topic, though we're not familiar with one that focuses specifically on Objective-C, Swift or Cocoa yet.

Autofac - An addictive .NET IoC container

  •    CSharp

Autofac is an IoC container for Microsoft .NET. It manages the dependencies between classes so that applications stay easy to change as they grow in size and complexity. This is achieved by treating regular .NET classes as components.You can get Autofac by grabbing the latest NuGet packages. If you're feeling adventurous, continuous integration builds are on MyGet.

Dependency Injection Service Provider (DISP)


Dependency Injection Service Provider (DISP) is a wrapper or an interface that aim to allow .NET developers use one of the inversion of control (IoC) containers out there such as StructureMap or Ninject from a high level of abstraction, using the same interface and classes wi...

Portable IoC

  •    DotNet

Portable IOC is a tiny thread-safe Inversion of Control container that is portable between Windows Phone, Windows Store (Windows 8), Silverlight, and .NET apps.


  •    DotNet

Dependency Injection Container with a very simple API.

Autofac.Configuration - Configuration support for Autofac IoC

  •    CSharp

Configuration support for Autofac.Please file issues and pull requests for this package in this repository rather than in the Autofac core repo.

MicroResolver - Extremely Fast Dependency Injection Library.

  •    CSharp

Extremely Fast Dependency Injection Library.MicroResolver is desgined for performance. I've released two fastest serializers ZeroFormatter and MessagePack for C#, this library is using there dynamic il code generation technique.

KickStart - Application initialization helper

  •    CSharp

Application start-up helper to initialize things like an IoC container, register mapping information or run a task. The KickStart library is available on nuget.org via package name KickStart.

disco - PSR-11 compatible Dependency Injection Container for PHP.

  •    PHP

This package provides a PSR-11 compatible, annotation-based dependency injection container. Have a look at the disco-demos project to find out how to use Disco. To instantiate Disco use the following code in your bootstrapping logic. Create an instance of the \bitExpert\Disco\AnnotationBeanFactory and register the instance with the \bitExpert\Disco\BeanFactoryRegistry. The second step is important as Disco needs to grab the active container instance in a few locations where it does not have access to the container instance itself.

cargo - :package: A Go dependency injection container that promotes low coupling and inversion of control

  •    Go

cargo is a library that provides a powerful way of handling objects and their dependencies, by using the Container. The container works by implementing the Dependency Injection pattern via constructor injection, resulting in explicit dependencies and the achievement of the Inversion of Control principle. There are two main methods used to define services in the container: container.Register and container.Set. The first one assumes you already have a pointer to an object instance to work with, the second needs a definition.

Inverse.js - A dead-simple JavaScript IoC container. Easy to learn, easy to use.

  •    Javascript

A dead-simple JavaScript IoC container in 50 lines. Yes, you read that right: 50 lines. The primary purpose of an Inversion of Control container is to serve as a location to place application-specific code that creates objects. It's a registry of factories, effectively. The other JavaScript solutions to this problem complicate the matter unnecessarily with their own formats for registering factory methods and pages of documentation. Getting up and running with them is a project in itself. It shouldn't be this way. Container instances are kept as objects, so you can either inject them as dependencies to other objects of yours or set one up in your application as a global, whichever works better for you.

MoaJs - Simple and flexible syntax for declaration object inheritance, mixins, static methods / properties / mixins, singleton declaration and IoC container out of the box

  •    CSS

ExtJs syntax for declaration object inheritance, mixins, static methods / properties / mixins, singleton declaration and IoC container out of the box. Size near 4kB minified JavaScript code and 1,7kB gzip. You can see current version MoaJs in root and release version in release folder.

alice - An additive dependency injection container for Golang.

  •    Go

Alice is an additive dependency injection container for Golang. Alice is inspired by the design of Spring JavaConfig.

MinIoC - Single-file minimal C# IoC container

  •    CSharp

MinIoC is a single-file, minimal C# IoC container. While there are several great IoC solutions available which are much more powerful and flexible, MinIoC aims to enable lightweight/small-footprint projects with a simple implementation. It is distributed as a single .cs file which can be included and compiled in other projects. The example above calls the generic Register<T>(Type) and Register<T>(Func<T>) methods. The first one binds the generic parameter type to an actual type, the second binds the generic parameter type to a factory function. Calling Resolve<T>() creates an instance of the registered type.

SwinjectStoryboard - Swinject extension for automatic dependency injection via Storyboard

  •    Swift

SwinjectStoryboard is an extension of Swinject to automatically inject dependency to view controllers instantiated by a storyboard. Swinject is available through Carthage or CocoaPods.

poodinis - A dependency injection framework for D with support for autowiring.

  •    D

Poodinis is a dependency injection framework for the D programming language. It is inspired by the Spring Framework and Hypodermic IoC container for C++. Poodinis supports registering and resolving classes either by concrete type or interface. Automatic injection of dependencies is supported through the use of UDAs or constructors. See the TUTORIAL.md and examples for a complete walkthrough of all features.