the installers generated by ExeOutput for PHP can include external files in the "Data" subfolder.
Some PHP applications can have tens of thousands of files. If you want to compile them as is in your application, the latter will be slowed down a lot. While if you keep your files outside, the performance of your application even compiled with ExeOutput for PHP will remain high compared to a server hosting it.
Therefore, we recommend that you keep file-heavy and non-essential directories outside of the application EXE file. Directories such as "vendor" or framework dependencies (whose source code is available in open source) do not really have to be protected and can therefore be kept outside your application.
To set a file as external, select it in the File Manager and click Properties. The "File Properties" window is displayed; turn on "Keep the selected file(s) external". ExeOutput for PHP will automatically copy the external files to the appropriate location in the "Data" subfolder.
If external files already exist in the destination folders, they will not be overwritten by ExeOutput for PHP. You have to upgrade these files yourself or simply remove the "Data" subfolder manually.
ExeOutput for PHP lets you encrypt external PHP files, so that their contents can only be read by the application and remain invisible to end users.
The disadvantage is that external files will be systematically encrypted at each compilation of your application, so the compilation time will be longer than in case of non-encryption.
It also slighly slows down the performance of your application, because it adds another decryption step to be performed at runtime when executing the external encrypted PHP scripts.
A new encryption key is generated for each build of your application, so external encrypted PHP files cannot be shared between different applications.
See also File Properties Editor