yzen.dev/laravel-opcache-facade
LaravelOpcacheFacade
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
spresnac/laravel-artisan-database-helper
Some useful helper to handle database backup & restores
3,736
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.0.2 | ^7.2 | ^v7.0 | MIT | |
| 0.0.1 | ^7.2 | ^v7.0 | MIT |