2017 © Pedro Peláez
 

library di-container

Simple dependecy injection container.

image

bauhaus/di-container

Simple dependecy injection container.

  • Friday, January 6, 2017
  • by fefas
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Bauhaus PHP Package - DI

Latest Stable Version Latest Unstable Version Total Downloads License, (*1)

Build Status Coverage Status Codacy Badge, (*2)

Introduction

The goal of this package is to provide a simple way to register and to load services that are the dependencies of other parts of your project code. In other words, it is a pragmatic implementation of the Dependency Injection Container pattern that supports shared, lazy and not shared., (*3)

To understand how to use this Dependency Injection Container, read the unit tests., (*4)

You can have a behavior summary of this Dependency Injection Container by runing the tests using the testdox option:, (*5)

$ vendor/bin/phpunit -c tests/config/phpunit.xml --testdox

See the Code Together section for more details., (*6)

Install

The easiest way to install is by using composer:, (*7)

$ composer require bauhaus/di:v0.*

Contribute

Did you find some problem or do you want to make this project better?, (*8)

  1. Did you find some problem? You can easy open an issue here here
  2. Do you want to help coding? Read the next section and let's code together :)

Code Together

First you will need to clone this repository:, (*9)

$ git clone git@github.com:bauhausphp/di-container.git bauhausphp-di-container
$ cd bauhausphp-di-container

Second, you have to install the dependencies which are already with the versions locked by the composer.lock. So, you just have to install them using composer:, (*10)

composer install

Third, before starting code, you need to make sure that the tests pass. There are unit that were implemented using phpunit framework. To run them, use the following command:, (*11)

$ vendor/bin/phpunit -c tests/config/phpunit.xml

The Versions

06/01 2017

dev-master

9999999-dev

Simple dependecy injection container.

  Sources   Download

MIT

The Requires

 

The Development Requires

dependency injection di container di dependency injection container bauhaus

06/01 2017

v0.1.0

0.1.0.0

Simple dependecy injection container.

  Sources   Download

MIT

The Requires

 

The Development Requires

dependency injection di container di dependency injection container bauhaus

05/01 2017

v0.0.1

0.0.1.0

Simple dependecy injection container.

  Sources   Download

MIT

The Requires

 

The Development Requires

di dependency injection container bauhaus

31/12 2016

v0.0.0

0.0.0.0

Simple dependecy injection container.

  Sources   Download

MIT

The Requires

 

The Development Requires

di dependency injection container bauhaus