Beta release of future PHP-DI 7.0.
Not ready for production, please test it out.
- support PHP 8.0 and up
- #738 support PHP 8 attributes for injections: welcome
#[Inject]
to replace@Inject
! - drop support for
@Inject
used with phpdoc annotations -> only native PHP types are supported now
That makes PHP-DI simpler, faster and lighter (no need for the PhpDocReader package) - typed everything that can be typed
- PSR-11 1.2 & 2.0 support