Closed ladiko closed 7 years ago
It should be possible to obfuscate any PHP code, no special configuration is needed if you point it to your src
folder.
No, it doesn't work because Symfony2 uses annotations and php-obfuscator remove them from the source code.
Yes, if your code relies on annotations and other forms of meta-programming this form of obfuscation obviously won't work.
You can use yml annotations (tested with silex + doctrine + symfony 3.x security and routing), you will need to avoid obfuscating controller action arguments since this will break dynamic routing:
/route/{var}/
function($d68f7) {
And if yes, which configuration is needed?