New review comment by paper42 on void-packages repository https://github.com/void-linux/void-packages/pull/38536#discussion_r1056883747 Comment: I don't see a straightforward way to handle this with our current alternatives system, only some workarounds: We could let the php package provide the php alternative that would point /usr/bin/php -> php8.{0,1}. All other unversioned binaries (php-fpm, composer, etc) would be symlinks pointing to a multicall script called php-alternatives provided by the php package. This script would look at /usr/bin/php, detect the version from there and add the version suffix to its arg 0. What do you think about this?