yzen.dev/laravel-opcache-facade

Laravel artisan commands for working with opcache.
3,216 3
Install
composer require yzen.dev/laravel-opcache-facade
Latest Version:0.0.2
PHP:^7.2
License:MIT
Last Updated:Feb 8, 2021
Links: GitHub  ·  Packagist
Maintainer: yzen.dev

LaravelOpcacheFacade

Packagist Version Packagist Downloads Packagist Downloads

Laravel artisan commands for working with opcache.

:scroll: Installation

The package can be installed via composer:

composer require yzen.dev/laravel-opcache-facade

:scroll: 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();

Related Packages

Version History

Version Released PHP Laravel License
0.0.2 ^7.2 ^v7.0 MIT
0.0.1 ^7.2 ^v7.0 MIT