Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 745 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 745 Bytes

laravel-opcache-manager

中文文档

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