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(10y 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 today

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

3665d 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

3345.4M354](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.1k4.6M315](/packages/laravel-ai)[illuminate/encryption

The Illuminate Encryption package.

9631.1M359](/packages/illuminate-encryption)[illuminate/filesystem

The Illuminate Filesystem package.

16166.4M3.5k](/packages/illuminate-filesystem)[moonshine/moonshine

Laravel administration panel

1.3k268.2k89](/packages/moonshine-moonshine)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

731189.9k16](/packages/tallstackui-tallstackui)

PHPackages © 2026

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