An Inversion of Control library that attempts to respect the Law Of Demeter and relies on as little configuration as possible.

0.2.11 2014-07-28 22:52 UTC


Build Status Coverage Status

Whitecap.IOC is a small Inversion of Control (IoC) container for PHP. IOC is designed to be unobtrusive by avoiding configuration where possible. By removing instantiation logic from the basic application, development is faster, more testable, and easier to understand.


  • Adhere to the Law of Demeter
  • Convention-over-configuration: should require configuration only where absolutely necessary.
  • Allow configuration adapters that support other languages or syntax.
  • Avoid frequent container interaction and reconfiguration during development.