Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is PHP obfuscation necessary at all?

I saw this thread after wondering if a PHP obfuscator exists. It gave me the question:

Why is it necessary to obfuscate PHP code if PHP files aren't supposed to be downloadable/"decompilable" in the first place?

like image 553
Adam Avatar asked Feb 21 '26 23:02

Adam


2 Answers

It's designed to obfuscate distributed PHP code. For example, say you're selling a forum system but offer a free trial. If someone can just go in and disable the payment check, then what's the point of selling it?

like image 79
Zoey Mertes Avatar answered Feb 24 '26 13:02

Zoey Mertes


It's true that php-code cannot be showed/downloaded directly.

But, for example, you write a software for somebody else and don't want him to change anything on your software, obfuscation makes it harder for him to understand, what your code does.

like image 27
Marcel Balzer Avatar answered Feb 24 '26 12:02

Marcel Balzer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!