Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Cache Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

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.

  • Major-version break (high): 12.0.0 likely realigns constraints (commonly an 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/*.
  • Coroutine safety (high, unverified): cross-request cache contamination, unsynchronised shared state, and per-coroutine context leakage are the classic failure mode for this class of bridge. This package has no data in our review set to confirm or deny it.
  • Dependency coupling (medium): we inherit the intersection of three release cadences — Laravel, Webman, and this bridge.
  • Informational (medium): shipping a major version without human-readable notes is itself a maintainer-maturity signal worth recording.

Key questions to resolve before adoption.

  1. What exactly breaks between 11.x and 12.x — API, config schema, or constraints only?
  2. Which PHP floor, illuminate/cache constraint, and Webman/support-package versions does 12.0.0 require?
  3. Is coroutine/context isolation provided, and how is it implemented (context proxy, per-coroutine container, or nothing)?
  4. Which drivers are actually supported and tested — file, array, redis, memcached, database? Are Redis connections pooled?
  5. Does it require Swoole/Swow, or does it also work on plain Workerman process mode?
  6. Is there a published upgrade guide, and is 11.x still receiving security fixes?

Integration Approach

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.

  1. Confirm existing usage and version spread across the estate (blocking).
  2. Read the full 11→12 diff and upgrade notes; escalate to maintainer if absent.
  3. Constraint-compatibility spike in a throwaway project.
  4. Concurrency and isolation test: concurrent requests writing and reading overlapping keys; confirm no bleed across coroutines and no growth in resident memory over sustained load.
  5. Staging soak with production-like traffic and connection counts.
  6. Production rollout to one low-risk service behind a feature flag, with a documented rollback to pinned 11.x.

Operational Impact

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.

  • Cross-coroutine cache bleed (wrong data returned to the wrong request) — highest severity, hardest to detect; test explicitly.
  • Connection pool exhaustion or leaked connections under burst load.
  • Stale connections after worker reload or backend failover, with no automatic reconnect.
  • Silent key/serializer mismatch after upgrade, producing reads of stale or unreadable values.
  • Process memory growth from uncapped in-process cache layers.
  • Constraint conflicts surfacing at deploy time rather than install time.

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core