基于 Redis 的订阅与发布

Github 仓库

demo-redis-subscribe

创建项目

$ composer create hyperf/biz-skeleton demo-redis-subscribe dev-master
Installing hyperf/biz-skeleton (dev-master 1eaa35a957cf704a5c9959c68e426a614c7598a2)
  - Installing hyperf/biz-skeleton (dev-master 1eaa35a): Cloning 1eaa35a957 from cache
Created project in demo-redis-subscribe
> @php -r "file_exists('.env') || copy('.env.example', '.env');"
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 133 installs, 0 updates, 0 removals
  - Installing ocramius/package-versions (1.4.0): Loading from cache
  - Installing hyperf/contract (dev-master 1624d1c): Cloning 1624d1ce0e from cache
  - Installing doctrine/inflector (v1.3.0): Loading from cache
  - Installing hyperf/utils (dev-master c847116): Cloning c847116cf9 from cache
  - Installing psr/container (1.0.0): Loading from cache
  - Installing hyperf/pool (dev-master 5a67570): Cloning 5a67570f71 from cache
  - Installing psr/event-dispatcher (1.0.0): Loading from cache
  - Installing hyperf/process (dev-master 75f4fbf): Cloning 75f4fbfa56 from cache
  - Installing doctrine/instantiator (1.2.0): Loading from cache
  - Installing psr/log (1.1.0): Loading from cache
  - Installing php-amqplib/php-amqplib (v2.10.0): Loading from cache
  - Installing hyperf/amqp (dev-master 1cff378): Cloning 1cff378bc4 from cache
  - Installing symfony/service-contracts (v1.1.6): Loading from cache
  - Installing symfony/polyfill-php73 (v1.12.0): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.12.0): Loading from cache
  - Installing symfony/console (v4.3.4): Loading from cache
  - Installing hyperf/command (dev-master e4caea4): Cloning e4caea4c70 from cache
  - Installing hyperf/async-queue (dev-master 8d28229): Cloning 8d282297cd from cache
  - Installing psr/simple-cache (1.0.1): Loading from cache
  - Installing hyperf/cache (dev-master 60997fb): Cloning 60997fb05c from cache
  - Installing hyperf/circuit-breaker (dev-master e41726f): Cloning e41726fd25 from cache
  - Installing symfony/finder (v4.3.4): Loading from cache
  - Installing symfony/polyfill-ctype (v1.12.0): Loading from cache
  - Installing phpoption/phpoption (1.5.0): Loading from cache
  - Installing vlucas/phpdotenv (v3.6.0): Loading from cache
  - Installing hyperf/config (dev-master 44f5ef8): Cloning 44f5ef8a10 from cache
  - Installing psr/http-message (1.0.1): Loading from cache
  - Installing fig/http-message-util (1.1.3): Loading from cache
  - Installing hyperf/framework (dev-master 3be169b): Cloning 3be169b9f4 from cache
  - Installing hyperf/event (dev-master e9d97f1): Cloning e9d97f11fb from cache
  - Installing php-di/phpdoc-reader (2.1.0): Loading from cache
  - Installing doctrine/lexer (1.1.0): Loading from cache
  - Installing doctrine/annotations (v1.7.0): Loading from cache
  - Installing nikic/php-parser (v4.2.4): Loading from cache
  - Installing hyperf/di (dev-master 7f82227): Cloning 7f822276a0 from cache
  - Installing hyperf/constants (dev-master a3baaf8): Cloning a3baaf8bbd from cache
  - Installing hyperf/devtool (dev-master c3f424f): Cloning c3f424f2c6 from cache
  - Installing ralouphie/getallheaders (3.0.3): Loading from cache
  - Installing guzzlehttp/psr7 (1.6.1): Loading from cache
  - Installing guzzlehttp/promises (v1.3.1): Loading from cache
  - Installing guzzlehttp/guzzle (6.3.3): Loading from cache
  - Installing hyperf/guzzle (dev-master 90ad6e4): Cloning 90ad6e497b from cache
  - Installing react/promise (v2.7.1): Loading from cache
  - Installing guzzlehttp/
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值