PHPackages                             soumik/libcipher - 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. [Security](/categories/security)
4. /
5. soumik/libcipher

ActiveLibrary[Security](/categories/security)

soumik/libcipher
================

AES-256-CBC key based encryption and decryption

1.0(5y ago)06GPL-3.0-or-laterPHP

Since Jul 9Pushed 5y ago1 watchersCompare

[ Source](https://github.com/iamrivu/libcipher)[ Packagist](https://packagist.org/packages/soumik/libcipher)[ RSS](/packages/soumik-libcipher/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

AES-256-CBC key based encryption and decryption in PHP
------------------------------------------------------

[](#aes-256-cbc-key-based-encryption-and-decryption-in-php)

```
composer require soumik/libcipher

require_once __DIR__ . "/vendor/autoload.php";
use libcipher\src as lib;

lib\Cipher::encrypt("Your text", "Random key 1st pair", "Random key 2nd pair");

lib\Cipher::decrypt("Your encrypted text", "Key 1st pair", "Key 2nd pair");
```

```
@version PHP >= 7.4
GNU GENERAL PUBLIC LICENSE
```

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1866d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/868da16dd6de3d0eb23a3292f4cfb9a4f73c77496ed40f2d3cc9239fca8633ea?d=identicon)[beingrivu](/maintainers/beingrivu)

---

Top Contributors

[![iamrivu](https://avatars.githubusercontent.com/u/23124973?v=4)](https://github.com/iamrivu "iamrivu (2 commits)")

---

Tags

cipher-algorithmsopensslphp

### Embed Badge

![Health badge](/badges/soumik-libcipher/health.svg)

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

###  Alternatives

[phpids/phpids

PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application

791150.0k2](/packages/phpids-phpids)[paragonie/ecc

PHP Elliptic Curve Cryptography library

25866.3k44](/packages/paragonie-ecc)[nicobleiler/php-passphrase

Passphrase generator with Laravel integration, inspired by Bitwarden. Uses the EFF long word list by default with support for custom wordlists.

4912.6k](/packages/nicobleiler-php-passphrase)[dwgebler/encryption

Encryption wrapper for PHP using libsodium — simple API for symmetric and asymmetric encryption, password hashing, digital signing, and message authentication.

317.5k](/packages/dwgebler-encryption)

PHPackages © 2026

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