Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
IoC/DI container for PHP
branch: master



A simple Inversion of Control/Dependency Injection tool for PHP.

See more about Inversion of Control:

Gnocchi would be integrated with Bread, a MVC PHP framework.


Contributors are welcome :) You can fork it, code, test, commit, push and send pull requests.


The only dependency on coding is the PHPUnit test framework. To install PHPUnit using Pear, just run on terminal:

$ [sudo] pear channel-discover

$ [sudo] pear channel-discover

$ [sudo] pear install phpunit/PHPUnit

If you don't want to use PEAR, check the PHPUnit official web site out to see how to install it.

Running tests

There is a Makefile used for running tests, so it is so easy to run tests:

$ make test

Something went wrong with that request. Please try again.