componere

Composing PHP classes at runtime


Componere is able to compose classes at runtime, and monkey patch objects.

License: PHP License

Latest releases

Version Release Download
3.1.2 2020-10-08 componere-3.1.2.tgz
3.1.1 2019-09-18 componere-3.1.1.tgz
3.1.0 2019-05-30 componere-3.1.0.tgz
3.0.0 2019-02-01 componere-3.0.0.tgz
2.1.3 2018-03-14 componere-2.1.3.tgz
Show all releases

Changelog

Version Message
3.1.2 - Fix #25 Segfault with OpCache and abstract classes
- Fix #26 Error: Class 0x01 not found" if Definition( 'MyDerived', 'MyClass' )
- Fix #29 Protected and Private properties not working as expected
- Fix #30 Can NOT addProperty in extending class
- Compatibility with PHP 8
3.1.1 - Fix compatibility with 7.4.0RC1
3.1.0 - Add PHP 7.4 support
3.0.0 - Fix #9 crash collecting coverage with phpdbg
- Fix #10 prototype incorrectly set causing incorrect scope detection
- Fix #11 Method::setFinal
- Fix #12 Method names reflection
- Fix #13 Assertion failure in zend_function_dtor
- Fix #14 Unexpected trait behaviour
- Fix #7 Inheritance tree broken by registering new classes
- Fix #15 Classes not being restored on definition destruction
- Fix #16 Constant AST not updated
- Fix #18 unexpected behaviour when name and parent refer to same class
- Definition::setConstant
- Drop 7.0 support
2.1.3 - initial pecl release
Show complete changelog