PHP Classes

Cripto PHP: Encrypt and decrypt PHP source code files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-06-05 (11 months ago) RSS 2.0 feedStarStarStar 59%Total: 1,226 This week: 8All time: 2,928 This week: 137Up
Version License PHP version Categories  
cripto-php 1.1The PHP License3.0PHP 5, Cryptography, Language
Description Author  

This class can encrypt and decrypt PHP source code files.

It can read a given PHP script file and encrypt it with a given password. The encrypted data is encoded with base64.

The class can also do the opposite, i.e. read a previously encrypted file, decrypt it with the same password and execute it as PHP code.


Encrypt PHP file and run encrypted file on the browser
Encrypt PHP script file

Innovation Award  
PHP Programming Innovation award winner
April 2014

Prize: One book of choice by Packt
PHP does not come with a built-in solution to protect the source code of PHP projects to make it difficult for other people to steal or alter source code without permission.

This class provides an alternative solution using encryption of the source code.

While it does not protect the source code from being stolen, it uses encryption to make it more difficult to find, read and alter source code directly.

Manuel Lemos
Picture of Andoitz Jordan Marmolejo
Name: Andoitz Jordan Marmolejo <contact>
Classes: 7 packages by
Country: Spain Spain
Age: 24
All time rank: 129025 in Spain Spain
Week rank: 162 Up4 in Spain Spain Up
Innovation award
Innovation award
Nominee: 3x

Winner: 2x

  Files folder image Files  
File Role Description
Plain text file CriptoPHP.php Class CriptoPHP Class
Accessible without login Plain text file exampleScript Data Example script
Accessible without login Plain text file exampleScript.php Example Example script
Accessible without login Plain text file Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 75%Total:1,226All time:2,928
 This week:8This week:137Up
User Ratings User Comments (1)  
 All time
This is a good class ;-)
1 year ago (Josť Filipe Lopes Santos)