Download the PHP package galata-eth/laravel-code-protector without Composer
On this page you can find all versions of the php package galata-eth/laravel-code-protector. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download galata-eth/laravel-code-protector
More information about galata-eth/laravel-code-protector
Files in galata-eth/laravel-code-protector
Download galata-eth/laravel-code-protector
More information about galata-eth/laravel-code-protector
Files in galata-eth/laravel-code-protector
Vendor galata-eth
Package laravel-code-protector
Short Description Laravel code protector: encrypt PHP files and load decrypted code at runtime (no Blade).
License MIT
Package laravel-code-protector
Short Description Laravel code protector: encrypt PHP files and load decrypted code at runtime (no Blade).
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-code-protector
🔐 Laravel Code Protector
Secure Laravel/PHP Code Encryption Package
By Galata Hinkosa (galata-eth)
Laravel Code Protector is a powerful package designed to encrypt your PHP source code, generate secure runtime stubs, and protect your intellectual property when deploying Laravel applications.
This package ensures your project runs normally while preventing anyone from accessing or modifying your actual PHP code.
🏆 Features
- ✔ AES-256-CBC encryption for all PHP source files
- ✔ Generates
.galoencrypted payloads - ✔ Replaces real code with tiny loader stubs
- ✔ Decrypts only in memory (
eval) - ✔ Original code never gets exposed
- ✔ Works on Windows, Linux, macOS
- ✔ Compatible with Laravel 8, 9, 10, 11
- ✔ Skips Blade files to avoid breaking views
- ✔ Secure, fast, and production-ready
📦 Installation
1. Install via Composer
composer require galata-eth/laravel-code-protector
# Laravel Code Protector (no Blade)
This package encrypts PHP files under configured paths and replaces original files with a small stub that triggers runtime decryption.
**How it works**
- `php artisan code:encrypt` encrypts files and writes `.galo` payloads beside originals and replaces original `.php` with a small stub.
- At runtime the stub calls `GalataEth\CodeProtect\Loader::loadFromStub(__FILE__)`, which decrypts the `.galo` file and `eval()`s the PHP code in memory (no persistent decrypted files by default).
**Install**
1. Take backup.
2. Place package in `packages/galata-eth/laravel-code-protector` or use path repository in composer.json.
3. `composer require galata-eth/laravel-code-protector:dev-main`
4. `php artisan vendor:publish --tag=config`
5. Set `CODE_PROTECT_KEY` or ensure `APP_KEY` is set.
6. `php artisan code:encrypt`
**Notes**
- This package purposely skips Blade view encryption.
- Keep backups of originals before encrypting.
=======
# Code-Encryption
Laravel code EncriptionAll versions of laravel-code-protector with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
ext-openssl Version *
ext-openssl Version *
The package galata-eth/laravel-code-protector contains the following files
Loading the files please wait ...