PHPackages                             rdaudov/whatsapp-encryptor - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. rdaudov/whatsapp-encryptor

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

rdaudov/whatsapp-encryptor
==========================

PSR-7 stream decorators for WhatsApp media encryption

00PHP

Since Feb 17Pushed 3mo agoCompare

[ Source](https://github.com/RDaudov/whatsapp-stream-encryption)[ Packagist](https://packagist.org/packages/rdaudov/whatsapp-encryptor)[ RSS](/packages/rdaudov-whatsapp-encryptor/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

WhatsApp Media Encryptor
========================

[](#whatsapp-media-encryptor)

A PHP library for encrypting and decrypting WhatsApp media files (images, videos, audio, documents) according to WhatsApp's media encryption specification.

About
-----

[](#about)

This project implements WhatsApp's media encryption algorithm including:

- AES-256-CBC encryption/decryption
- HKDF key derivation
- Sidecar generation for streamable media (VIDEO, AUDIO)
- Full test coverage

Installation
------------

[](#installation)

### Requirements

[](#requirements)

- PHP 8.1 or higher
- Composer
- OpenSSL extension

### Setup

[](#setup)

1. Clone the repository:

```
git clone https://github.com/RDaudov/whatsapp-stream-encryption.git
cd whatsapp-stream-encryption
```

Install dependencies: `composer install`

Expected output:
----------------

[](#expected-output)

.................................. 34 / 34 (100%)

Time: 00:00.105, Memory: 16.00 MB

OK (34 tests, 57 assertions)

Test Instructions

To verify the project works correctly:
--------------------------------------

[](#to-verify-the-project-works-correctly)

Install dependencies: `composer install`

Run tests: `composer test`

Confirm all 34 tests pass successfully

###  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/3c1dd8ff7a68451eeb915f72bc51aaf61f5e3c5e0b0bdfdec129cdc0f5d6543a?d=identicon)[RDaudov](/maintainers/RDaudov)

---

Top Contributors

[![RDaudov](https://avatars.githubusercontent.com/u/96396811?v=4)](https://github.com/RDaudov "RDaudov (3 commits)")

### Embed Badge

![Health badge](/badges/rdaudov-whatsapp-encryptor/health.svg)

```
[![Health](https://phpackages.com/badges/rdaudov-whatsapp-encryptor/health.svg)](https://phpackages.com/packages/rdaudov-whatsapp-encryptor)
```

###  Alternatives

[hanson/vbot

高度自定义的微信机器人，能够实现群控制，自动回复，消息转发，防撤回，留言统计等功能

4.4k14.4k12](/packages/hanson-vbot)

PHPackages © 2026

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