PHP Package: phpseclib/mcrypt_compat
PHP library providing compatibility with the deprecated mcrypt extension for seamless encryption and decryption routines.
Package Description
Mcrypt_Compat is a PHP library designed to help users transition smoothly from the deprecated mcrypt extension by offering a compatibility layer. It eases the process of migrating legacy codebases to modern cryptography standards while maintaining functionality and security. Mcrypt_Compat simplifies encryption and decryption tasks, ensuring a secure and reliable transition for PHP applications.
Download Latest Version: 2.0.6

Code Integration Example
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/phpseclib/mcrypt_compat/2.0.6/loader.php';
require_once 'libs/phpseclib/phpseclib/3.0.47/loader.php';
use phpseclib\mcrypt_compat\Mcrypt;
$obj = new Mcrypt();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.