moviet / opcache
Simple laravel opcache using artisan commands for most versions
dev-main
2025-04-06 09:59 UTC
Requires
- php: ^7.0 || ^8.0
This package is auto-updated.
Last update: 2025-04-06 10:05:08 UTC
README
Simple php opcache using laravel commands for most versions minimum v5.3.
Installation
The package can be installed via composer:
composer require moviet/opcache dev-main
Usage
Flush the contents of the opcache:
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 Manual Code
use Moviet\Opcache\Opcode; Opcode::clear(); Opcode::getConfig(); Opcode::getStatus();