PHPackages                             arshidkv12/beastx - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. arshidkv12/beastx

ActivePhp-ext

arshidkv12/beastx
=================

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

00C

Since Jan 8Pushed 4mo agoCompare

[ Source](https://github.com/arshidkv12/beast-x)[ Packagist](https://packagist.org/packages/arshidkv12/beastx)[ RSS](/packages/arshidkv12-beastx/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

 **BeastX – PHP Source Code Protection Extension**

Overview
--------

[](#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
--------

[](#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?
---------------

[](#how-to-install)

```
pie install arshidkv12/beastx
```

Function List
-------------

[](#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
-------------------------

[](#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)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance55

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d0a960b80ac86825f0df926e52df3372cb0878b0e813785e530826a8b67abd91?d=identicon)[arshidkv12](/maintainers/arshidkv12)

---

Top Contributors

[![arshidkv12](https://avatars.githubusercontent.com/u/6806645?v=4)](https://github.com/arshidkv12 "arshidkv12 (6 commits)")

### Embed Badge

![Health badge](/badges/arshidkv12-beastx/health.svg)

```
[![Health](https://phpackages.com/badges/arshidkv12-beastx/health.svg)](https://phpackages.com/packages/arshidkv12-beastx)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
