PHP code example of steve-moretz / laravel-opcache

1. Go to this page and download the library: Download steve-moretz/laravel-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/ */

    

steve-moretz / laravel-opcache example snippets

bash
php artisan vendor:publish --provider="SteveMoretz\LaravelOpcacheClear\OpcacheClearServiceProvider"
bash
php artisan opcache:clear

    "watch_globs" => [__DIR__ . "/../../**/*.php"]
bash
php artisan opcache:watch