PHP Classes

Recommendation for a PHP class to encrypt code: Encrypt PHP source code file including JavaScript

Recommend this page to a friend!
  All requests RSS feed  >  Recommendation for a PHP class to enc...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Recommendation for a PHP class to encrypt code

Edit

Picture of fatimafateen by fatimafateen - 2 years ago (2021-04-12)

Encrypt PHP source code file including JavaScript

This request is clear and relevant.
This request is not clear or is not relevant.

+2

I need to encrypt my PHP source code. I need the whole source code file to be encrypted, which may include JavaScript, HTML and PHP code too.

Ask clarification

1 Recommendation

PHP Application Packer: Create packages of project files for distribution

This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Manuel Lemos by Manuel Lemos Reputation 23325 - 2 years ago (2021-04-13) Comment

If you want just to obfuscate the PHP source code along with other types of files, you may want to try this package can compact PHP code and makes it hard to read. It comes with plugins to compact other types of files like JavaScript and HTML. Then it packs in a ZIP archive.

It is not secure in the sense that it will stop a user with some knowledge to recover the code in a readable format, but it can be good enough to discourage somebody without much knowledge of programming to to read or copy the code.

If you want a more secure solution, you may want to try PHP encoder products that encode the code in a binary format and require an extension to load and execute that code.


Recommend package
: 
: