Hacking with PHP has been updated for PHP 7 - click here! >>

PHP Encoders

The concept behind both PHP encoders is that you run them on a PHP script, or a whole project of scripts, and they literally turn the code into seeming garbage that still executes the same as an unencoded script.

To allow encoded scripts to execute like unencoded scripts, a special script loader is required - this sits inside PHP itself, and so is a seamless process. All PHP encoders support functionality such as limiting scripts to running on just a certain computer or computers, making files expire after a certain date, etc - they give you a lot of flexibility in your encoding choices.

My advice is to check around, find something that works for your needs, then give it a try. At the end of the day, cost is most likely going to be the most important factor!


If this was helpful, please take a moment to tell others about Hacking with PHP by tweeting about it!

Next chapter: Cross-platform code 1: Loading extensions >>

Previous chapter: Charging for your work

Jump to:


Home: Table of Contents

Copyright ©2015 Paul Hudson. Follow me: @twostraws.