PHPackages                             micheledef/encrypt-decrypt - 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. micheledef/encrypt-decrypt

ActiveLibrary

micheledef/encrypt-decrypt
==========================

Encrypt and Decrypt with a secret key

v1.0.0(2y ago)0576MITPHPPHP &gt;=7.2

Since Mar 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/MicheleDeF/EncryptDecrypt)[ Packagist](https://packagist.org/packages/micheledef/encrypt-decrypt)[ RSS](/packages/micheledef-encrypt-decrypt/feed)WikiDiscussions main Synced today

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

EncryptDecrypt
==============

[](#encryptdecrypt)

### Encrypt and Decrypt with a secret key

[](#encrypt-and-decrypt-with-a-secret-key)

Install via Composer
--------------------

[](#install-via-composer)

```
composer require micheledef/encrypt-decrypt
```

Example of use
--------------

[](#example-of-use)

```
require 'vendor/autoload.php';

use Micheledef\EncryptDecrypt\Encrypt as Encrypt;
use Micheledef\EncryptDecrypt\Decrypt as Decrypt;

$string = "Hello World";
$secretkey = "secretkey";

$encrypt = new Encrypt($string, $secretkey);

echo $encrypt;
// wdjRz+GFy9rX5dc=

$decrypt = new Decrypt($encrypt, $secretkey);
echo $decrypt;
// Hello World
```

###  Health Score

23

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1087d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

phpencryptdecryptsecret keyencrypt decrypt

### Embed Badge

![Health badge](/badges/micheledef-encrypt-decrypt/health.svg)

```
[![Health](https://phpackages.com/badges/micheledef-encrypt-decrypt/health.svg)](https://phpackages.com/packages/micheledef-encrypt-decrypt)
```

###  Alternatives

[soarecostin/file-vault

192194.4k](/packages/soarecostin-file-vault)[brainstud/file-vault

1231.4k](/packages/brainstud-file-vault)[hemiframe/php-aes

PHP class for encrypt and decrypt data with AES algorithm

1029.9k](/packages/hemiframe-php-aes)

PHPackages © 2026

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