arshidkv12/beastx

BeastX PHP extension for runtime source code protection (php-beast continuation)

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:C

Type:php-ext

Ext name:ext-beastx

pkg:composer/arshidkv12/beastx

dev-main 2026-01-08 11:06 UTC

This package is auto-updated.

Last update: 2026-01-08 11:06:38 UTC


README

BeastX – PHP Source Code Protection Extension

Overview

PHP-Beast is a powerful PHP source code encryption module designed to protect your PHP applications from unauthorized access and reverse engineering. It encrypts PHP files at the source level while maintaining full compatibility with PHP execution environments.

Features

  • 🔒 Multiple Encryption Algorithms: Supports AES, DES, and Base64 encryption

  • 🛡️ Security Enhancements: Customizable encryption keys and file headers

  • 🏷️ Machine Binding: Restrict execution to specific machines via MAC addresses

  • ⏰ Expiration Control: Set time limits for encrypted files

  • 🔧 Easy Integration: Simple installation and configuration

  • 🐛 Debug Mode: Debug decryption process when needed

  • 📁 Large File Support: Handle files up to specified size limits

  • 🔄 Cache System: Improve performance with configurable caching

How to install?

pie install arshidkv12/beastx

Function List

  • beast_encode_file() — Encrypt a file

  • beast_avail_cache() — Get available cache size

  • beast_support_filesize() — Get max supported file size

  • beast_file_expire() — Get file expiration time

  • beast_clean_cache() — Clear all caches

How to Encrypt a PHP File

Use the script tools/encode_file.php to encrypt a single PHP file.

php encode_file.php \
  --oldfile old_file_path \
  --newfile new_file_path \
  --encrypt DES \
  --expire "2026-10-10 10:10:10"

Parameter Description

  • --oldfile : Path to the original PHP file to be encrypted

  • --newfile : Path where the encrypted file will be saved

  • --encrypt : Encryption algorithm (DES, AES, BASE64)

  • --expire : Expiration date and time (YYYY-MM-DD HH:MM:SS)