PHPackages                             zhaoshiyou/queue-intelligent-scheduling - 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. zhaoshiyou/queue-intelligent-scheduling

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

zhaoshiyou/queue-intelligent-scheduling
=======================================

queue-intelligent-scheduling

V1.0.0(5y ago)07MITPHP

Since May 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/zhaoshiyou/queue-intelligent-scheduling)[ Packagist](https://packagist.org/packages/zhaoshiyou/queue-intelligent-scheduling)[ Docs](https://github.com/zhaoshiyou/queue-intelligent-scheduling)[ RSS](/packages/zhaoshiyou-queue-intelligent-scheduling/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

\#这里就不扯什么英文了。 一个简单的功能

这个包是基于的laravel 8.x 智能调度来消费队列 命名空间Zsy（zhaoshiyou的首字母缩写） 只适用于Linux环境。 windows下的话可以测试，但需要修改一下代码，类queueIntelligentScheduling 第46-47行

调用示例：

use Zsy\\Qis\\queueIntelligentScheduling;

class TestController extends Controller {

```
public function check() {

    $a=new queueIntelligentScheduling('message',10,15,[1000=>1,5000=>2,8000=>5,20000=>10,50000=>15]);
    //第一个参数为laravel的队列名，
    //第二个参数为一个消费进程执行的多少条就自动退出，第三个参数是一个消费进程执行多长时间就自动退出，两者先到为准（都是必填项，且需要认真配置）
    //第三个参数是数组配置，解释一下：队列长度超过5000以内起2个消费进程，超过8000起5个进程消费，超过50000起15个进程。

    $a->intelligentScheduling();

}

```

}

然后在服务器或者用laravel自带的任务调度，定时去执行check方法。比如每5分钟去执行一下check()。就会实现根据laravel队列的长度，智能的去起消费进程，而且进程也会根据你的配置自动退出。

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1881d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39617281?v=4)[zsy zsy](/maintainers/zhaoshiyou)[@zhaoshiyou](https://github.com/zhaoshiyou)

---

Tags

laravelqueuescheduling

### Embed Badge

![Health badge](/badges/zhaoshiyou-queue-intelligent-scheduling/health.svg)

```
[![Health](https://phpackages.com/badges/zhaoshiyou-queue-intelligent-scheduling/health.svg)](https://phpackages.com/packages/zhaoshiyou-queue-intelligent-scheduling)
```

###  Alternatives

[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)[pmatseykanets/artisan-beans

Easily manage your Beanstalkd job queues right from the Laravel artisan command

4482.3k](/packages/pmatseykanets-artisan-beans)

PHPackages © 2026

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