Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
IoC/DI container for PHP
PHP Python
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
docs
gnocchi
tests
.gitignore
Makefile
README.markdown
build.xml
phpunit.xml

README.markdown

Gnocchi

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

See more about Inversion of Control: http://en.wikipedia.org/wiki/Inversion_of_Control

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

Hacking

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

Dependencies

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

$ [sudo] pear channel-discover pear.phpunit.de

$ [sudo] pear channel-discover pear.symfony-project.com

$ [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.