Tiny dependency management library for PHP 5.3

Installs: 112

Dependents: 1

Stars: 3

Watchers: 1

Forks: 1

Language: PHP

v0.5.2 2015-02-21 18:52 UTC

README

Tiny dependency management library for PHP 5.3 by Selvin Ortiz

Build Status Total Downloads Latest Stable Version

Description

Zit is a small dependency injection container similar to and inspired by Pimple

Requirements

Changelog

0.5.2
  • Adds changes from pull request #1
  • Updates some composer properties
0.5.1
  • Adds static::$instances
  • Adds multiton implementation
  • Removes static::$instance
  • Removes singleton restrictions
0.5.0
  • Improved dynamically called closures
  • Removed get()
  • Removed previously deprecated helper()
  • Updated code comments
  • Improved speed and performance for PHP 5.3.10 and above
0.4.1
  • Added the protected pop() method
  • Added the ability to get dependencies via __get() as in Zit::$dependency
  • Updated the get() to become a simple alias to pop()
  • Deprecated (not removed) helper() method
0.4.0
  • Ensured that the Zit instance always get passed as the first argument to all callables.
0.3.0
  • Added the ability to get dependencies out statically Zit::dynamicName() via __callStatic
0.2.1
  • Added simple mocks to illustrate instantiation via Zit
  • Improved examples by illustrating how services and callables behave
0.2.0
  • Removed the license from SelvinOrtiz\Zit\Zit
  • Added the license in its own file /LICENSE
  • Added references to Pimple and the composer package
  • Added lib/package description in SelvinOrtiz\Zit\Zit
0.1.0
  • Added basic usage example /etc/ZitExample.php
  • Added basic test suite /tests/ZitTest.php
  • Implemented the foundation for Zit