tarantool/queue
PHP bindings for the Tarantool Queue LuaRock, letting you produce and consume tasks in Tarantool tubes with FIFO, TTL, and other queue types. Covers producer and consumer APIs, statistics, and custom methods.
Adds typed queue APIs and subqueuettl support with dynamically named subqueues. Queue::put() may return null when a bounded queue is full. This release requires PHP 8.2+ and tarantool/client ^0.11.
Full Changelog: https://github.com/tarantool-php/queue/compare/v0.10.0...v0.11.0
final keyword from the Queue classQueue::getClient()Options and StatesTask::createFromTuple() to Task::fromTuple()TarantoolAdapterPhpUnitCompat traitThis release requires a minimum version of tarantool/client v0.5.0.
Tarantool\Queue\TarantoolAdapterTarantool\Queue\ClientAdapterThis release drops support for old PHP versions. The minimum PHP version requirement is 7.1.
.php_cs.dist)CHECK_CS for dockerfile.shQueue::call() method now accepts a variable number of arguments. The new signature:
public function call(string $methodName, ...$args) : arrayAdded option constants (TtlOptions, UtubeOptions, UtubettlOptions).
Queue::statistics() to Queue::stats()$path argument in Queue::stats()Queue::stats() now throws InvalidArgumentException on malformed pathQueue::truncate()How can I help you explore Laravel packages today?