So I've made a tool for web developers and now I want to sell it, but I don't want all web developers to see my code (PHP).

I do know there are PHP Obfuscators, but I don't want to use them, as they are not COMPLETELY 100% secure. I tried looking for a compiler for PHP (I know they aren't 100% secure as well, but they are more secure than an obfuscator,) but with no luck.

Can someone offer alternatives other than using an obfuscator?


When you don't want the user to have access to your code, you must not let them run it on their machine. It's that simple. As you already found out yourself, obfuscation doesn't work.

So what option do you have?

Run it on your own servers and offer it to the customer as a service, for example via SOAP. The drawbacks are that you need to administrate servers now, and that there is a latency when your service is used. But on the upside, you can write Cloud(tm) all over your marketing material.

| improve this answer | |
  • This isn't really what i was looking for. I know i could put it on my server, but the problem is, i don't want all the traffic to be on my server, and if my host goes down, it will affect every single customer i have. But i guess there is no other choice.... Thanks for Info. – 131 Aug 13 '14 at 16:16
  • +1 for "Cloud(tm)" haw haw. Well, perhaps you could distribute your server program to many servers, then it would not go down? An alternative is to avoid the hassle of monetization and just give it away for free. If everyone did that, no one would have to work! (Monet might not agree) – user82913 Jun 29 '16 at 16:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.