yzen.dev/laravel-opcache-facade

Laravel artisan commands for working with opcache.

0.0.2 2021-02-08 19:45 UTC

This package is auto-updated.

Last update: 2024-05-09 03:10:31 UTC


README

Packagist Version Packagist Downloads Packagist Downloads

Laravel artisan commands for working with opcache.

📜 Installation

The package can be installed via composer:

composer require yzen.dev/laravel-opcache-facade

📜 Usage

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 from code

use LaravelOpcacheFacade\OpcacheFacade;

OpcacheFacade::clear();
OpcacheFacade::getConfig();
OpcacheFacade::getStatus();