toknsit / laravel-opcache-manager
manager for php opcache
Installs: 489
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/toknsit/laravel-opcache-manager
Requires
- php: ^7.1.3|^8.0
- laravel/framework: ^5.6|^6.0||^7.0|^8.0
README
opcache manager for laravel
give a command opcache-manager:clear to reset opcache of web server from cli, more auto, more simple
workflow
I am using php deployer,so just add a task opcache:reset after deploy to clear opcache. The workflow is like this . Also you should be able to use it in other deployment solution
sequenceDiagram
participant A as deploy tool
participant B as php-cli
participant C as php-fpm(nginx)
A->>B: time to clear opcache
B-->>B: create a signed url
B->>C: access the url to reset opcache
C->>B: success
B->>A: finish
Loading
todo
- a manager api/view to get opcache status