PHPackages                             risum/legacy-encrypter - 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. risum/legacy-encrypter

ActiveLibrary[Security](/categories/security)

risum/legacy-encrypter
======================

The legacy version of the Laravel mcrypt encrypter.

v1.0.0(9y ago)03.5kMITPHPPHP &gt;=5.5.9

Since Aug 3Pushed 6y agoCompare

[ Source](https://github.com/Risum/legacy-encrypter)[ Packagist](https://packagist.org/packages/risum/legacy-encrypter)[ Docs](http://laravel.com)[ RSS](/packages/risum-legacy-encrypter/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Laravel Legacy Encrypter
========================

[](#laravel-legacy-encrypter)

This encryption package provides support for the legacy Mcrypt encrypter used by Laravel 5.0 through 5.2. It is primarily intended to be used to migrate your data to the new OpenSSL based encrypter used in 5.1 through the latest release of Laravel.

#### Usage Example

[](#usage-example)

```
use Laravel\LegacyEncrypter\McryptEncrypter;

$encrypter = new McryptEncrypter($encryptionKey);

$encrypted = $encrypter->encrypt('I am encrypted!');

$decrypted = $encrypter->decrypt($encrypted);
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

3620d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14911932?v=4)[Pavel K](/maintainers/Risum)[@Risum](https://github.com/Risum)

---

Top Contributors

[![Risum](https://avatars.githubusercontent.com/u/14911932?v=4)](https://github.com/Risum "Risum (3 commits)")[![taylorotwell](https://avatars.githubusercontent.com/u/463230?v=4)](https://github.com/taylorotwell "taylorotwell (3 commits)")[![clod986](https://avatars.githubusercontent.com/u/5764857?v=4)](https://github.com/clod986 "clod986 (1 commits)")

### Embed Badge

![Health badge](/badges/risum-legacy-encrypter/health.svg)

```
[![Health](https://phpackages.com/badges/risum-legacy-encrypter/health.svg)](https://phpackages.com/packages/risum-legacy-encrypter)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M298](/packages/laravel-horizon)[illuminate/database

The Illuminate Database package.

2.8k54.9M11.5k](/packages/illuminate-database)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M186](/packages/laravel-ai)[illuminate/encryption

The Illuminate Encryption package.

9630.7M321](/packages/illuminate-encryption)[moonshine/moonshine

Laravel administration panel

1.3k253.1k79](/packages/moonshine-moonshine)

PHPackages © 2026

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