gordalina/cachetool
CLI App and library to manage apc & opcache. observed · 2026-08-28
Health v2 · maintenance only
56/100
- Activity 64
- Release rhythm 21
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 338
- age_days: 4363
- days_rel: 318
- days_push: 217
- n_releases_24m: 2
Adoption not part of the score
1827 stars · 159 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
CacheTool is a PHP CLI application and library for managing APCu, OPcache, and the file status cache from the command line. It connects to a FastCGI server such as PHP-FPM (or runs via cli/web adapters) to clear caches and inspect statistics without reloading PHP or exposing web endpoints.
Use cases
- clear opcache without reloading php-fpm
- invalidate apcu cache from the command line
- cron job for php cache invalidation
- view opcache statistics from the console
- clear php realpath cache via fastcgi
- manage php bytecode cache in deployment scripts
When to choose
- you run PHP-FPM and need to flush OPcache/APCu without a web endpoint or service reload
- you want scriptable or cron-driven cache invalidation for PHP
- you need to inspect PHP cache statistics from a terminal or CI pipeline
When to avoid
- you need cache management for non-PHP runtimes like Redis or Memcached
- you only need per-worker file status cache clearing across a whole FPM pool, since stat:clear affects only one worker
- you want a GUI or web dashboard for cache monitoring
Facets
cli-tool · maturity active
caching cli developer-tools developer-tools web-development performance php cli php opcache apcu php-fpm fastcgi cache-invalidation phar command-line docker linux macos
2 sources
- readme: https://github.com/gordalina/cachetool · fetched 2026-08-28 · d265a65f939f
- homepage: https://gordalina.github.io/cachetool · fetched 2026-08-29 · d6c5ed05ef0d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gordalina/cachetool | main | 56 |
For agents
markdown · JSON · MCP: product_card(name="gordalina/cachetool")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem