pk-fr / yakpro-po

YAK Pro - Php Obfuscator
http://www.php-obfuscator.com
Other
1.27k stars 354 forks source link

combine files #69

Open the-liquid-metal opened 4 years ago

the-liquid-metal commented 4 years ago

How about combining all input files into one (or several) output files? -> a road to single-file application.

There are already exist single file app. The famous one is "Composer" which composer.phar we use every time. There are several tools available that can package php applications into one phar file.

Let's experiment with preload feature which comes with php 7.4 and create a new php workflow. Let's push YAK Pro further. YAK Pro provides one or two steps on that road. Isn't "YAK Pro" stands for "Yet Another Killer Product"?

YAK Pro should be able to produce output grouped by namespace. All classes, contants and functions member are wrapped up with just a single namespace declaration. Then all namespace declaration are combined into single (or several) output files.

From the obfuscator point of view, a bloated output file means: slowdown deobfuscated process or slowdown IDE, and additional step to analize and reformat code.

oleteacher commented 1 year ago

Following... Wish I was talented enough to push project up for PHP7.4 +