Laravel artisan commands for working with opcache.
The package can be installed via composer:
composer require yzen.dev/laravel-opcache-facade
Resets the contents of the opcode cache:
php artisan opcache:clear
Show configuration information about the cache:
php artisan opcache:config
Get status information about the cache:
php artisan opcache:status
use LaravelOpcacheFacade\OpcacheFacade;
OpcacheFacade::clear();
OpcacheFacade::getConfig();
OpcacheFacade::getStatus();