COMMUNITY

Haxe php output - is posible to make 1 single file?

i have many php files after compiling - i need one file index.php

Haxe compiler doesn’t have an option to merge php output into a single file.
But there are options to do it manually:

  1. Create a tool which will traverse through the output folders, read php files, and dump the contents into a single file;
  2. Create a Phar archive