PHP code example of pou / lumen-opcache-clear
1. Go to this page and download the library: Download pou/lumen-opcache-clear 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/ */
pou / lumen-opcache-clear example snippets
// config/app.php
'providers' => [
...
MicheleCurletta\LaravelOpcacheClear\OpcacheClearServiceProvider::class,
...
];
// config/app.php
'url' => env('APP_URL', 'http://my-app-url'),
bash
php artisan opcache:clear