Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

IoC/DI container for PHP

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 docs
Octocat-spinner-32 gnocchi
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.markdown
Octocat-spinner-32 build.xml
Octocat-spinner-32 phpunit.xml


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.