Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

IoC/DI container for PHP

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

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