Skip to content

simple example of php-di dependency injection container usage

Notifications You must be signed in to change notification settings

mikedfunk/php-di-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP-DI example

Just an example implementation of PHP-DI.

Installation

  1. Get composer
  2. cd into the project dir, run php composer.phar install
  3. open index.php. Bar should be injected into the Foo class.

About

simple example of php-di dependency injection container usage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages