laminas / laminas-di

Automated dependency injection for PSR-11 containers
https://docs.laminas.dev/laminas-di/
BSD 3-Clause "New" or "Revised" License
36 stars 20 forks source link

[RFC]: Move AoT into a separate component #32

Open tux-rampage opened 2 years ago

tux-rampage commented 2 years ago

RFC

Q A
Proposed Version(s) 4.0.0
BC Break? Yes

Goal

Provide users an option to add the AoT compiler as a dev dependency

Background

At the Moment the AoT compiler is part of this package, but it should not be a requirement for running the application. Therefore the AoT compiler should be extracted and provided in a separate package and all AoT-only code should be stripped from this repo.

Considerations

The existing AoT compiler should be deprecated and Facaded within the AoT Package to provide a migration path without breaking at the first update.

Proposal(s)

Appendix