Skip to content

Small very fast Dependency and Configruation Management Framework inspired by Google-Guice and these two Google Talks: http://www.youtube.com/watch?v=RlfLCWKxHJ0 http://www.youtube.com/watch?v=-FRm3VPhseI

License

Notifications You must be signed in to change notification settings

alwinmark/Puice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Scrutinizer Code Quality HHVM Status Latest Stable Version License

Puice

Dependency and Configruation Management Framework inspired by Guice and these two Google Talks:

Benchmark

https://github.com/alwinmark/benchmarking-dependency-injection-containers (currently only Benchmark 1 is implemented)

Install

Install php5-curl

  • on debian/ubuntu: sudo apt-get install php5-curl

To install Puice put this into your composer.json "alwinmark/Puice": "*"

For example:

{
    "require": {
        "alwinmark/puice": "1.0.0"
    },
    "require-dev": {
        "behat/behat": "2.4.*@stable",
        "behat/mink-extension": "*",
        "behat/mink-selenium2-driver": "*",
        "behat/mink-goutte-driver": "*",
        "phpspec/phpspec": "2.0.*@dev"
    },
    "minimum-stability": "dev",
    "config": {
        "bin-dir": "vendor/bin/"
    },
    "autoload": {"psr-0": {"": "src"}}
}

How to use it

If you want to know how to use it, take a look at the feature file.

Maybe you have allready some Kind of Configuration/Injection Framework and you only want to use the Generic Factory Puice is providing. If thats the case, you have to write some Gluecode, that implements the Puice\Config Interface and pass it to the Factory.

Licence

MIT

About

Small very fast Dependency and Configruation Management Framework inspired by Google-Guice and these two Google Talks: http://www.youtube.com/watch?v=RlfLCWKxHJ0 http://www.youtube.com/watch?v=-FRm3VPhseI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages