All Versions
Latest Version
Avg Release Cycle
166 days
Latest Release
1082 days ago

Changelog History

  • v1.2.2 Changes

    October 15, 2020

    โšก๏ธ This small update allows you to finally use the resolver methods directly. The resolver methods are generated when a container is compiled. The methods have the the return type their dependency which helps your IDE to help you.

  • v1.2.1 Changes

    August 14, 2020

    ๐Ÿš€ This release introduces the ability to update service definitions after they have been defined.

    โšก๏ธ Service Updates

    ๐Ÿ“‡ It is possible to update already defined services with more construction calls and metadata.
    This is quite handy to organize large amount of dependencies with a dynamic lookups.

    You could for example define your logger in one file.

    @logger.main: Acme\Logger

    And add observers using a construction call where you need them.\_devs: Acme\EmailLogObserver('[email protected]')\_support: Acme\EmailLogObserver('[email protected]') @logger.main - addObserver(\_devs) - addObserver(\_support)

    ๐Ÿ“‡ The same is also true for metadata.

    @controller.homepage: Controller\Homepage = on: '/homepage'// also show homepage on [email protected] = on: '/'
  • v1.2.0

    May 07, 2020
  • v1.1.2 Changes

    April 23, 2019
    • ๐Ÿ›  Minor fixes
    • PHPUnit 9 compatibility
    • โž• added allParameters method.
  • v1.1.1 Changes

    January 29, 2019

    ๐Ÿ›  Fixes

    • PHP 7.3 preg_match fix
  • v1.1.0 Changes

    April 11, 2018

    ๐Ÿ”‹ Features

    ๐Ÿš€ This release brings container meta data support. In plain PHP and for the container language.

    You are now able to assign meta data to a service as follows:

    @my.event_listener: App\EventListener\Thing
        = on: 'something', call: 'handleTheThing' 

    ๐Ÿ›  Fixes

    ๐Ÿ›  Methods stacking has been fixed. You can now stack multiple calls to the same method together.

    @my.registry: App\Registry
        - add('james')
        - add('John')
  • v1.0.0

    January 23, 2018