Looking to hire Laravel developers? Try LaraJobs

laravel-opcache-facade maintained by yzen.dev

Description
Laravel artisan commands for working with opcache.
Last update
2021/02/08 20:45 (dev-main)
License
Links
Downloads
3 216
Tags

Comments
comments powered by Disqus

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