The autoload.php only loads the composer packages in the vendor folder, it does not load the PHPMaker common files and global functions. Avoid using standalone files. You may read:
The autoload.php only loads the composer packages in the vendor folder, it does not load the PHPMaker common files and global functions. Avoid using standalone files. You may read: