yzen.dev / laravel-opcache-facade
Laravel artisan commands for working with opcache.
Installs: 3 214
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^7.2
- illuminate/console: ^v7.0
- illuminate/contracts: ^v7.0
- illuminate/support: ^v7.0
Requires (Dev)
- phpstan/phpstan: ^0.12.37
- roave/security-advisories: dev-master
- squizlabs/php_codesniffer: *
README
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();