pecl-gen

from an XML description

Fedora
RUN dnf install -y php-pear-CodeGen-PECL
click the source code to copy install pecl-gen on any operating system with command-not-found.com