Skip to content

Code Protection (Sourceguardian and similars)

Jorge Castro edited this page Apr 22, 2020 · 1 revision

SourceGuardian

This library is compatible with SourceGuardian.

SourceGuardian provides full PHP 4, PHP 5, and PHP 7 support including the latest PHP 7.2 along with much other protection and encryption features.

However:

  • You must avoid encoding the template folder (copy unencoded the views folder).
  • Optionally, you must avoid encoding the compiled folder because the files could be replaced by Bladeone. Also, you could run BladeOne in mode BladeOne::MODE_FAST and encode the compile folder)

So,

  • \view folder = copy unencoded.
  • \compiled folder (BladeOne::MODE_FAST)= php/html script (encode)
  • \compiled folder (anything but BladeOne::MODE_FAST)= skip files (because it will be replaced)
  • (everything else) = php/html script (encode)

I don't know about the compatibility of Ioncube or Zend Guard I don't own a license of it.

Clone this wiki locally