PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Protecting Your PHP Source Code With ionCube Encoder

Summary

In this article I showed you how you can protect your PHP code using the ionCube PHP Encoder. While I only showed your the absolute basics, there are many other features available with the encoder that make it ideal for projects of all sizes.

Some of those features include:

  • Adding a licensing mechanism to your code so only license-holders can use your code
  • Handling various events in the loading process (such as if the loader isn't found)
  • Writing custom properties to an encoded file

Additionally, if you use a tool such as Phing to simplify your PHP application build process, there is a built-in hook to run all of your code through ionCube PHP encoder.

Resources

Other Options

In This Article