I'm fairly sure composer is just used to fetch the dependencies and build the autoload files. You should be able to use composer to generate the things you want and go from there. It has been a few years since I did PHP development and that was on MediaWiki which didn't use composer so we had to do this kind of thing.
I don't think that has anything to do with composer.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.