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?


1 Answer 1


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.

  • 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, 2014 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, 2016 at 16:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .