webman-tech/laravel-cache
Brings Laravel's cache component to webman, letting you use familiar Cache facades, stores, and drivers inside webman applications. Bridges existing Laravel cache code and configuration into webman's runtime so you can reuse what you already know instead of rewriting caching logic.
Assessment basis: No prior assessment exists; this is a baseline. Release 12.0.0 was published with only a comparison link (11.0.0...12.0.0) and no substantive changelog text, so the content of the change is unverified. The major-version increment is the only signal available, and a major bump is by convention a breaking-change indicator. Confidence in this assessment is therefore low-to-moderate and should be treated as provisional.
Architecture fit. webman-tech/laravel-cache is a bridge package: it exposes Laravel's illuminate/cache component for use inside Webman, a long-running, coroutine-capable PHP application server built on Workerman. This is a meaningful architectural mismatch to manage, not a trivial adapter. Laravel's cache layer assumes a short request lifecycle and a service container that is rebuilt per request; Webman keeps processes and containers alive across requests. Anything that relies on per-request container state, singletons, or in-process array stores must be handled explicitly by the bridge. Fit is good if the package correctly isolates cache state per coroutine/request and pools backend connections; fit is poor if it does not.
Integration feasibility. Mechanically straightforward — Composer install plus plugin config registration. The real work is not installation but validation of behaviour under concurrency. Estimated effort is low for a proof of concept, moderate-to-high for production sign-off.
Technical risk.
illuminate/* major bump, a PHP floor increase, or a Webman/support-package version pairing). Any of these cascades into our lockfile and transitively into other packages depending on illuminate/*.Key questions to resolve before adoption.
illuminate/cache constraint, and Webman/support-package versions does 12.0.0 require?file, array, redis, memcached, database? Are Redis connections pooled?Stack fit. Appropriate for a Laravel-adjacent team already running Webman that wants a familiar cache API (Cache::get, put, remember, tags) rather than Webman's native cache utilities. Poor fit if the team is fully Laravel and Webman is only incidental — in that case the bridge adds a dependency layer for no benefit.
Migration path. Start from a clean 12.0.0 install in a scratch Webman service rather than upgrading an existing 11.x deployment, so we observe the new constraint set without a pre-existing lockfile biasing resolution. Only after that should we evaluate an 11.x → 12.x upgrade path for any service already using the package. Since we hold no inventory of existing usage, step one is confirming whether anything in our estate already depends on it.
Compatibility. Verify against our pinned PHP version, our Laravel version if we run one alongside, and our Webman runtime (Swoole vs. Swow vs. plain). Confirm the Redis client extension match (ext-redis vs. Predis) and serialization format compatibility with any existing cache keys — a serializer change between majors would silently invalidate or misread live cache entries. Treat any change to key prefixing or serialization as a migration event requiring a flush plan.
Sequencing.
Maintenance. We take on responsibility for tracking three upstream cadences and reconciling them at each bump. Budget recurring effort per Webman or Laravel major release, not a one-time cost. Pin exact versions and treat majors as scheduled work, not incidental upgrades.
Support. Community-maintained package with a small maintainer surface; support means upstream issues and source reading, not a vendor SLA. The absence of release narrative for 12.0.0 means the team must be capable of reading the diff. Acceptable for internal tooling, questionable for anything customer-facing with tight recovery objectives.
Scaling. Long-running processes mean memory is not reclaimed per request, so cache-layer leaks compound over a worker's lifetime. Confirm connection pooling for Redis/Memcached and validate behaviour under worker recycling and graceful reload — stale connections and pool exhaustion during reload are the expected scaling cliffs. Validate at target concurrency before committing to horizontal scale assumptions.
Failure modes to instrument.
Ramp-up. Low for developers already fluent in the Laravel cache API — the interface is familiar by design. Moderate for whoever owns the Webman runtime, since the operational understanding required is coroutine and connection-pool behaviour, not caching semantics. Plan a short enablement session for on-call covering the failure modes above.
Recommendation. Do not adopt 12.0.0 on the strength of this release alone. Proceed to the compatibility spike and concurrency testing contingent on obtaining the actual 11→12 changelog; if the maintainer cannot supply breaking-change detail, pin 11.x or evaluate Webman's native cache as an alternative. Re-assess once the diff is reviewed and the isolation test is complete.
How can I help you explore Laravel packages today?