PHP Classes

Cripto PHP: Encrypt and decrypt PHP source code files

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (8 months ago) RSS 2.0 feedStarStarStarStar 72%Total: 2,797 All time: 1,350 This week: 53Up
Version License PHP version Categories
cripto-php 1.10The 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.

Innovation Award
PHP Programming Innovation award winner
April 2014
Winner


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
  Performance   Level  
Name: Andoitz Jordan Marmolejo <contact>
Classes: 7 packages by
Country: Spain Spain
Age: 34
All time rank: 81318 in Spain Spain
Week rank: 163 Up8 in Spain Spain Up
Innovation award
Innovation award
Nominee: 3x

Winner: 2x

Recommendations

Details

Created by andoitz.com Use this script for encrypt your php code You can have this class as API in other server 1. Encrypt your php files to cphp 2. Create an API with this class and your encrypted php classes. You can use the php class protector http://www.andoitz.com/proyectos/programacion/34-proyectos/programacion/82-php-class-protector.html 3. If you like MVC create a controller with a view and call your classes via your API. You will GET the response functions protected. 4. If you dont want touch API server, send your cphp files to de API server. API server will decrypt and execute your functions.

  Files folder image Files (4)  
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 README.md Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 75%
Total:2,797
This week:0
All time:1,350
This week:53Up
User Ratings User Comments (3)
 All time
Utility:93%StarStarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:75%StarStarStarStar
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:72%StarStarStarStar
Rank:194
 
its good
7 years ago (Loya Iorpine Gabriel)
60%StarStarStarStar
doesnt work
7 years ago (Andrea Schiffo)
70%StarStarStarStar
This is a good class ;-)
10 years ago (José Filipe Lopes Santos)
60%StarStarStarStar