https://bugzilla.redhat.com/show_bug.cgi?id=1809097
--- Comment #12 from Artur Iwicki fedora@svgames.pl ---
So you must have BuildRequires: php-fedora-autoloader-devel To ensure the fedora template is there.
Oh, thanks, I just used "dnf provides /usr/bin/phpab", which said theeser-autoload, and I went with that.
- Make executables include required files directly, instead of using the autoloader
better to use the autoloader, but because of above issue, it is empty.
Including the autoloader file does not register ("activate") the Fedora Autoloader, so to use the autoloader file, I'd need to modify the executables further. Since all the classes required by the executable are located in one file, I think it's simpler to just include that file.