PHP code example of cwsr / mcrypt-compat-speed-patch

1. Go to this page and download the library: Download cwsr/mcrypt-compat-speed-patch library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

cwsr / mcrypt-compat-speed-patch example snippets




declare(strict_types=1);

use Cwsr\McryptPatch\McryptCompatSpeedPatchPackage;
use Nytris\Boot\BootConfig;
use Nytris\Boot\PlatformConfig;

$bootConfig = new BootConfig(new PlatformConfig(__DIR__ . '/var/cache/nytris'));

// ...

$bootConfig->installPackage(new McryptCompatSpeedPatchPackage());

// ...

return $bootConfig;