PHP code example of ale10257 / yii2-opcache

1. Go to this page and download the library: Download ale10257/yii2-opcache 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/ */

    

ale10257 / yii2-opcache example snippets


...
'modules'=>[
    ...
    'opcache'=>[
            'class'=>'ale10257\opcache\OpcacheModule',
        ],
    ...    
]