2017 © Pedro Peláez
 

library php-di

The essential of dependency injection container

image

essential-php/php-di

The essential of dependency injection container

  • Sunday, December 25, 2016
  • by jmalekdev
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

About

Essential PHP-DI is a dependency injection container for PHP, (*1)

Requirements

Essential PHP-DI requires PHP version 7.0 or greater, (*2)

Installation

$ composer require essential-php/php-di "~1.0"

Or alternatively, include a dependency for essential-php/php-di in your composer.json file. For example:, (*3)

{
    "require": {
        "essential-php/php-di": "^1.0"
    }
}

Usage

use Essential\Di\Container;

$container = new Container();
$container->add('foo.bar', FooBar::class)
$fooBar = $container->get('foo.bar')

Issues

Bug reports can be submitted on the Github Issue Tracker., (*4)

License

MIT License. See LICENSE for information., (*5)

The Versions

25/12 2016

1.0.x-dev

1.0.9999999.9999999-dev

The essential of dependency injection container

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jamil Malek

dependency injection container di

25/12 2016

dev-master

9999999-dev

The essential of dependency injection container

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jamil Malek

dependency injection container di