views:

342

answers:

3

Hello,

I am looking to distribute a symfony web app, but don't want to reveal its source code.

I know it is tough to obfuscate PHP, but I was wondering if there are any closed or open source solutions to obfuscate and/or encode the backend code so that someone receiving the app can run it but wouldn't be able to view the source code?

+4  A: 

phc (a PHP compiler) has an --obfuscate flag

John Paulett
That seems like the best option, I'll be sure to try it out. Thanks!
JB Lesage
+1  A: 

IonCube is a PHP encoder. It means that all your customers will need to install the ionCuber libraries on their server, which they may not want to do.

Jon Winstanley
Ah, quite true. I had a look at their website and balked at their prices... I think I'll try something open source. In the closed source arena there is also Zend Guard as well but their prices are even higher than IonCube (as far as I remember).
JB Lesage
A: 

th think i that ioncube and zend guard dont work with symfony because the autoloading...

Mr Overflow