PHPackages                             ghopunk/php-encryption - 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. ghopunk/php-encryption

ActiveLibrary[Security](/categories/security)

ghopunk/php-encryption
======================

encrypte n decrypte string

v1.0.1(3y ago)0262MITPHPPHP &gt;=5.6

Since May 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ghopunk/php-encryption)[ Packagist](https://packagist.org/packages/ghopunk/php-encryption)[ Docs](https://github.com/ghopunk/php-encryption)[ RSS](/packages/ghopunk-php-encryption/feed)WikiDiscussions master Synced 2w ago

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

encrypte n decrypte string PHP
==============================

[](#encrypte-n-decrypte-string-php)

$enc = new Encryption();
$enc-&gt;setUniquecode( 'my\_unique' );
$encode = $enc-&gt;encode( 'my\_text' );
$decode = $enc-&gt;decode( $encode );
echo $decode;

###  Health Score

21

—

LowBetter than 17% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

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

Every ~51 days

Total

2

Last Release

1128d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/368b7a656e74a0488f728bda42115a31f0a9efd91672bdcda9dffd193ad2a306?d=identicon)[ghopunk](/maintainers/ghopunk)

---

Top Contributors

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

---

Tags

ghopunkencrypte

### Embed Badge

![Health badge](/badges/ghopunk-php-encryption/health.svg)

```
[![Health](https://phpackages.com/badges/ghopunk-php-encryption/health.svg)](https://phpackages.com/packages/ghopunk-php-encryption)
```

###  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)
