laravel/legacy-encrypter
Drop-in Laravel encrypter compatible with legacy apps. Encrypt/decrypt data using older key formats and cipher settings so you can read existing payloads and migrate safely. Useful for upgrades where stored encrypted values must remain accessible.
mcrypt library, allowing smooth transitions without data loss.mcrypt-encrypted data.Adopt if:
mcrypt-encrypted data (e.g., passwords, API tokens, sensitive fields).encrypter for new data).mcrypt logic.Look elsewhere if:
mcrypt implementation.mcrypt wrapper (though this package mitigates that risk).For Executives:
"This lightweight package solves a critical migration bottleneck: securely accessing legacy-encrypted data during our Laravel upgrade. By leveraging Laravel’s official mcrypt decrypter, we avoid costly custom development, reduce risk, and ensure compliance without disrupting new feature delivery. It’s a zero-cost, low-risk enabler for our roadmap—think of it as a ‘bridge’ to modern encryption, not a long-term dependency."
For Engineering:
*"The legacy-encrypter package provides a drop-in solution to decrypt mcrypt-encrypted data (e.g., from Laravel ≤5.7) using Laravel’s existing encryption config. Key benefits:
mcrypt logic (same as legacy apps).encrypter for new data.
Use case: Add it to your composer.json, configure it in config/app.php, and decrypt legacy data via LegacyEncrypter::decrypt(). Perfect for migration scripts or audit tools. Avoid if you need encryption or custom mcrypt variants."*How can I help you explore Laravel packages today?