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