May also be useful for creating automatic language support from a single codebase. For example, Amazon uses JSII to build a typescript library into Python, Go, dotnet, etc.
Maybe this tooling will help add PHP to that list.
That way you are not maintaining 6 codebases.