https://github.com/yzen-dev/laravel-opcache-facade
Laravel artisan commands for working with opcache.
https://github.com/yzen-dev/laravel-opcache-facade
Last synced: 4 months ago
JSON representation
Laravel artisan commands for working with opcache.
- Host: GitHub
- URL: https://github.com/yzen-dev/laravel-opcache-facade
- Owner: yzen-dev
- License: mit
- Created: 2020-12-11T15:34:00.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-08T19:50:01.000Z (over 5 years ago)
- Last Synced: 2025-07-23T00:24:50.881Z (11 months ago)
- Language: PHP
- Homepage: https://github.com/yzen-dev/laravel-opcache-facade
- Size: 36.1 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```php
use LaravelOpcacheFacade\OpcacheFacade;
OpcacheFacade::clear();
OpcacheFacade::getConfig();
OpcacheFacade::getStatus();
```