Ding: Dependency Injection in your PHP Applications

Note:: See "Installing and using the Ding DI Container " for an in depth look of how to install.


  • PHP 5.3.3+
  • Extensions: posix, pcntl, simplexml, sockets, pcre, reflection, yaml, phar
  • log4php (just put the src/main/php directory of the src distribution in your path).

Installing with composer

Just add the package "marcelog/ding":

Packagist URL:

Installing with pear

You can now easily install Ding by issuing:

just replace 1.6.1 by the release version you'd like to install :)

CI Server (PHAR and PEAR)

You can also take a look at the Jenkins CI Server to get the phar and pear packages directly.

Manual Install

You can download Ding directly from github in the following forms:

  • ZIP
  • TAR
  • SVN:
  • GIT: git://