darkwood/flow
Flow is a PHP 8.5+ package for building asynchronous pipelines with a functional style. Define steps with generators, pass typed data through each stage, and await execution. Includes examples and docs, with a focus on assembling code as “flows”.
When processing Flow at async step, you can choose a handler that will process asynchronously the Ip.
This is the default one. Ip is async processed immediately.
This async process Ip as batch capability : the handler will wait for a certain amount of async messages ($batchSize) to be processed before pushing them.
This async process Ip to offer defer capability : the handler will pass [$data, $defer] as entry for the job. In that case, the job can fine control the async process. $defer is a callable that embark two callbacks
You can make your custom Ip strategy by implementing Flow\AsyncHandlerInterface
How can I help you explore Laravel packages today?