PHPackages                             jiajiale/laravel-queue - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. jiajiale/laravel-queue

ActiveLibrary[Queues &amp; Workers](/categories/queues)

jiajiale/laravel-queue
======================

laravel-queue

020PHP

Since Sep 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jiajiale/laravel-queue)[ Packagist](https://packagist.org/packages/jiajiale/laravel-queue)[ RSS](/packages/jiajiale-laravel-queue/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-queue 包使用说明
-------------------

[](#laravel-queue-包使用说明)

##### laravel-queue包是在php-amqplib包的基础上做的简单封装

[](#laravel-queue包是在php-amqplib包的基础上做的简单封装)

##### 1、配置参数

[](#1配置参数)

RABBITMQ\_HOST：rabbitmq地址

RABBITMQ\_PORT：rabbitmq端口

RABBITMQ\_USER：rabbitmq用户名

RABBITMQ\_PASSWORD：rabbitmq密码

RABBITMQ\_VHOST：rabbitmq vhost

##### 2、发布消息到队列

[](#2发布消息到队列)

```
Queue::publish(交换机名称,队列名称,消息内容);
// 消息内容可以是字符串或数组
Queue::publish('uc','uc',["aaa" => 'cccc']);

```

##### 2、订阅消息内容

[](#2订阅消息内容)

```
Queue::subscribe('交换机名称',队列名称,function ($msg){
    return true; // 消息ACK
});

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/97060ec715e84c033d6b3d0607e3f3347819af1455e1cc7b06335dbde6506f67?d=identicon)[jiajiale](/maintainers/jiajiale)

---

Top Contributors

[![xiaj90](https://avatars.githubusercontent.com/u/75089389?v=4)](https://github.com/xiaj90 "xiaj90 (3 commits)")

### Embed Badge

![Health badge](/badges/jiajiale-laravel-queue/health.svg)

```
[![Health](https://phpackages.com/badges/jiajiale-laravel-queue/health.svg)](https://phpackages.com/packages/jiajiale-laravel-queue)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[amphp/parser

A generator parser to make streaming parsers simple.

14952.8M16](/packages/amphp-parser)[amphp/serialization

Serialization tools for IPC and data storage in PHP.

13451.1M18](/packages/amphp-serialization)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[deliciousbrains/wp-background-processing

WP Background Processing can be used to fire off non-blocking asynchronous requests or as a background processing tool, allowing you to queue tasks.

1.1k409.8k6](/packages/deliciousbrains-wp-background-processing)[react/async

Async utilities and fibers for ReactPHP

2238.8M170](/packages/react-async)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
