Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
68eb066
Add StreamConnection interface and Redis implementations
abnegate Jan 10, 2026
197a987
Add Schedule value object for recurring jobs
abnegate Jan 10, 2026
cc35c72
Add RedisStreams broker implementation
abnegate Jan 10, 2026
0615220
Add dragonmantank/cron-expression dependency
abnegate Jan 10, 2026
bfb56e5
Add Redis Streams test worker and docker config
abnegate Jan 10, 2026
29b23a4
Add unit and E2E tests for Redis Streams
abnegate Jan 10, 2026
90ae673
Add unit and E2E tests for Redis Streams
abnegate Jan 10, 2026
b36af09
Merge branch 'feat-redis-streams' of github.com:utopia-php/queue into…
abnegate Jan 10, 2026
092c751
Add phpstan ignores for RedisCluster stream methods
abnegate Jan 10, 2026
06b6ed3
Add phpstan ignores for incomplete phpredis stubs
abnegate Jan 10, 2026
96561f8
Add Redis Streams broker implementation
abnegate Jan 10, 2026
5716768
Merge branch 'feat-redis-streams' of github.com:utopia-php/queue into…
abnegate Jan 10, 2026
b553547
Merge branch 'main' into feat-redis-streams
abnegate Jan 19, 2026
968e8fd
Initial plan
Copilot Jan 19, 2026
885b413
Add jetbrains/phpstorm-stubs and remove phpstan ignores
Copilot Jan 19, 2026
e0c6355
Replace jetbrains/phpstorm-stubs with custom Redis Streams stubs
Copilot Apr 29, 2026
55b34a6
Use official phpredis stub file instead of custom stubs
Copilot Apr 29, 2026
b865335
Configure Pint to ignore stubs directory
Copilot Apr 29, 2026
cf56a39
Merge pull request #65 from utopia-php/copilot/sub-pr-63
abnegate Apr 29, 2026
eabfc55
Merge branch 'main' into feat-redis-streams
abnegate Apr 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 12 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
- swoole
- swoole-amqp
- swoole-redis-cluster
- swoole-redis-streams
- workerman

swoole:
Expand All @@ -35,6 +36,17 @@ services:
redis-cluster-0:
condition: service_healthy

swoole-redis-streams:
container_name: swoole-redis-streams
build: ./tests/Queue/servers/SwooleRedisStreams/.
command: php /usr/src/code/tests/Queue/servers/SwooleRedisStreams/worker.php
volumes:
- ./vendor:/usr/src/code/vendor
- ./src:/usr/src/code/src
- ./tests:/usr/src/code/tests
depends_on:
- redis

swoole-amqp:
container_name: swoole-amqp
build: ./tests/Queue/servers/AMQP/.
Expand All @@ -61,8 +73,6 @@ services:
redis:
container_name: redis
image: "redis:alpine"
ports:
- "6379:6379"

redis-cluster-0:
image: docker.io/bitnamilegacy/redis-cluster:7.4
Expand Down
3 changes: 2 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ parameters:
- tests

scanDirectories:
- vendor/swoole
- vendor/swoole
- stubs
3 changes: 3 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
<testsuite name="E2E">
<directory>./tests/Queue/E2E/Adapter</directory>
</testsuite>
<testsuite name="Unit">
<directory>./tests/Queue/Unit</directory>
</testsuite>
</testsuites>
</phpunit>
3 changes: 3 additions & 0 deletions pint.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"preset": "psr12",
"exclude": [
"stubs"
],
"rules": {
"single_quote": true
}
Expand Down
Loading
Loading