Closed karmac2015 closed 6 years ago
there is no loader... obfuscated programs are pure php ones..
just use obfuscated files instead of original ones !
Can I add php files to obfuscated directory manually ?
if you do that they will be deleted on re-obfuscation... you can use $conf->t_keep configuration parameter to not obfuscate a list of files...
Error: your use of define() function is not compatible with yakpro-po! Only 2 parameters, when first is a literal string is allowed... Can you help me to solve this error please. I am trying to use your tool to obfuscate my Yii2 project. A lot of errors appear when trying to obfuscate the vendor directory in my project. I will use t_keep config parameter.
just read the message.... you use the define() function having either 1st parameter not a string litteral ( I.e. "a string" ) or more than 2 parameters.. this use is not compatible with the obfuscator... change your source code.
After excluding vendor directory that contains all external libraries and extensions the project has been obfuscated successfully but the following error appear when I trying to run my project : _Fatal error: Uncaught LogicException: Passed array does not specify an existing static method (class 'ComposerAutoloaderInit31f8ee465cdf32e540f6c3d6d131a877' not found) in C:\wamp64\www\my-project\yakpro-po\obfuscated\vendor\composer\autoload_real.php on line 8_
The same project was obfuscated using ioncube and source guardien. The project run wihtout any problem.
see readme.md
yakpro-po has been developed for standalone projects only!
I do not support any Framework, nor symphony, nor composer. Please feel free to provide a specific yakpro-po.cnf excluding all composer features when you have successfully done one.
Ok, thank you I wish you support framework like Yii2.
I do not, and will never support any Framework. If you make and support a specific yakpro-po.cnf file for a specific Framework, and put it on github, I will provide a link to your repository!
Ok, I will try but till know a lot of errors appear when I try to run my project
try to not obfuscate class names nor class methods.... all autoload or magic features of Frameworks are not compatible with obfuscation... the Framework will not know how to load things with obfuscated names...
How can I run the obfuscated project in wamp server ? is there any loader like other obfuscation tools zend, ioncube , source guardien ?