PHP Classes

Laravel OpCache Facade: Access and retrieve statistics of OPCache usage

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 18 All time: 11,390 This week: 455Up
Version License PHP version Categories
laravel-opcache-faca 1.0.0MIT/X Consortium ...5PHP 5, Libraries, Cache, Language
Description 

Author

This package can access and retrieve statistics of OPCache usage.

It provides a Laravel service class, a facade class and a command class to access features of the PHP OPCache extension.

Currently, it can:

- Reset the contents of OPCache cached entries

- Get OPCache configuration values

- Get OPCache status values

Picture of Andrey Iatsenko
  Performance   Level  
Name: Andrey Iatsenko <contact>
Classes: 12 packages by
Country: Russian Federation Russian Federation
Innovation award
Innovation award
Nominee: 7x

Documentation

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

  Files folder image Files (10)  
File Role Description
Files folder imagesrc (2 files, 2 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (10)  /  src  
File Role Description
Files folder imageCommands (3 files)
Files folder imageutils (1 file)
  Plain text file OpcacheFacade.php Class Class source
  Plain text file ServiceProvider.php Class Class source

  Files folder image Files (10)  /  src  /  Commands  
File Role Description
  Plain text file ClearCommand.php Class Class source
  Plain text file ConfigCommand.php Class Class source
  Plain text file StatusCommand.php Class Class source

  Files folder image Files (10)  /  src  /  utils  
File Role Description
  Plain text file CommandUtil.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:18
This week:0
All time:11,390
This week:455Up