mpyw/laravel-cached-database-stickiness
Keeps Laravel's read/write database stickiness alive across requests by caching it. After a write, later requests are routed to the primary connection for a set period, preventing stale reads from replicas when using read/write connection splitting.
Architecture fit
sticky flag only guarantees read-your-writes within a single request; this package caches the sticky state so subsequent requests (HTTP or queued jobs) also route to the primary until a TTL expires.read/write connections configured.Integration feasibility
^2.2.1 rather than a floating constraint, and confirm the target environment's exact Laravel/PHP pair is in the package's test matrix, not just its constraint expression.Technical risk
[Claude]. Not disqualifying, but it raises the bar on maintainer review rigor for a package that patches framework internals.Key questions
Stack fit
Migration path
Compatibility
Sequencing
Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?