https://github.com/termux/termux-packages/pull/25962 is just merged.
But for that, you must install termux from f-droid and termux-x11-nightly.apk from GitHub and a windows manager like xfce on your phone etc etc. This is why I describe it as theoretically.
Following conversations with SerheyDolgushev we decided that it doesn't make sense to maintain independent forks of the Tolerant PHP Parser. -- https://github.com/phan/phan-tolerant/pull/15