toadbeatz/swoole-bundle
A Laravel bundle for running applications on the Swoole PHP extension, enabling high-performance coroutine-based request handling, persistent workers, and faster throughput with simplified setup and configuration.
int $currentSize) remove a class of production incidents — pool overruns and lost connections under multi-worker load — that would otherwise surface as 3am pages during traffic spikes. That de-risks the scaling decision.allowed_classes => false change is a behavioral tightening disguised as "no migration required." Any product surface relying on object caching (serialized DTOs, Eloquent models, session payloads in the Swoole cache adapter) needs a migration to arrays/plain structures — plan this as a small, scheduled work item, not a silent version bump.Adopt when:
Look elsewhere when:
allowed_classes => false will silently degrade or break object hydration. If you cannot migrate that payload to arrays/DTOs on a near-term timeline, this release is a functional regression for you, not a free win.On this specific release: treat it as mandatory for anyone already on the package — the security fixes are critical and there is no migration step. Treat it as conditionally blocking only for object-caching workloads, where a verification spike (roughly half a day) should precede the bump. Note the release notes are in French and do not document the cache behavior change as a breaking change; the "no action required" claim should be validated against your own code rather than taken at face value.
For executives (one paragraph): A security and stability patch for the async PHP runtime underlying our high-throughput services. It closes two critical vulnerabilities — malicious header injection via the HTTP layer and remote code execution via unserialized cache objects — and fixes race conditions that could drop database and Redis connections under load. It is free, backward compatible, requires no migration work, and keeps us on the supported path for our upcoming PHP 8.4 and Symfony upgrades. Recommendation: apply immediately, with a brief staged load test before full rollout.
For engineering leadership:
HttpServerManager), object injection via allowed_classes => true (SwooleCacheAdapter), and non-atomic pool counters across three pool implementations.How can I help you explore Laravel packages today?