{"id":15282380,"url":"https://github.com/xutl/yii2-queue","last_synced_at":"2025-10-06T21:34:05.143Z","repository":{"id":57085369,"uuid":"102593886","full_name":"xutl/yii2-queue","owner":"xutl","description":"Yii2 队列的 阿里云MNS驱动","archived":false,"fork":false,"pushed_at":"2018-02-03T04:24:05.000Z","size":14,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-12T22:55:00.891Z","etag":null,"topics":["aliyun","aliyun-mns","queue","yii2","yii2-extension"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xutl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-06T10:08:19.000Z","updated_at":"2022-10-19T02:45:57.000Z","dependencies_parsed_at":"2022-08-24T22:50:27.391Z","dependency_job_id":null,"html_url":"https://github.com/xutl/yii2-queue","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xutl%2Fyii2-queue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xutl%2Fyii2-queue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xutl%2Fyii2-queue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xutl%2Fyii2-queue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xutl","download_url":"https://codeload.github.com/xutl/yii2-queue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248643049,"owners_count":21138353,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aliyun","aliyun-mns","queue","yii2","yii2-extension"],"created_at":"2024-09-30T14:25:27.737Z","updated_at":"2025-10-06T21:34:00.103Z","avatar_url":"https://github.com/xutl.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aliyun/QCloud Queue Extension for Yii 2\n\n[![Latest Stable Version](https://poser.pugx.org/xutl/yii2-queue/v/stable.png)](https://packagist.org/packages/xutl/yii2-queue)\n[![Total Downloads](https://poser.pugx.org/xutl/yii2-queue/downloads.png)](https://packagist.org/packages/xutl/yii2-queue)\n[![Dependency Status](https://www.versioneye.com/php/xutl:yii2-queue/dev-master/badge.png)](https://www.versioneye.com/php/xutl:yii2-queue/dev-master)\n[![License](https://poser.pugx.org/xutl/yii2-queue/license.svg)](https://packagist.org/packages/xutl/yii2-queue)\n\n这个扩展是给官方原版的 `yiisoft/yii2-queue` 增加了 阿里云/腾讯云 消息队列驱动，只有队列，没有主题。按下面说明配置上以后，就可以按照官方原版的说明开始使用即可。\n\nInstallation\n------------\n\nNext steps will guide you through the process of installing using [composer](http://getcomposer.org/download/). Installation is a quick and easy three-step process.\n\n### Step 1: Install component via composer\n\nEither run\n\n```\ncomposer require --prefer-dist xutl/yii2-queue\n```\n\nor add\n\n```json\n\"xutl/yii2-queue\": \"~2.0.0\"\n```\n\nto the `require` section of your composer.json.\n\n### Step 2: Configuring your application\n\nAdd following lines to your main configuration file:\n\n```php\n    'components' =\u003e [\n        'queue' =\u003e [\n            'class' =\u003e 'xutl\\queue\\aliyun\\Queue',\n            'endPoint' =\u003e 'http://aabbcc.mns.cn-hangzhou.aliyuncs.com/',\n            'accessId' =\u003e '1234567',\n            'accessKey' =\u003e '654141234',\n            'queue' =\u003e 'task',\n        ],\n        'queue2' =\u003e [\n            'class' =\u003e 'xutl\\queue\\qcloud\\Queue',\n            'endPoint' =\u003e 'http://aabbcc.mns.cn-hangzhou.aliyuncs.com/',\n            'region' =\u003e 'bj',\n            'accessId' =\u003e '1234567',\n            'accessKey' =\u003e '654141234',\n            'queue' =\u003e 'task',\n        ],\n    ],\n```\n\nRead [https://github.com/yiisoft/yii2-queue/blob/master/docs/guide/README.md](https://github.com/yiisoft/yii2-queue/blob/master/docs/guide/README.md) to continue\n\n## License\n\nThis is released under the MIT License. See the bundled [LICENSE.md](LICENSE.md)\nfor details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxutl%2Fyii2-queue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxutl%2Fyii2-queue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxutl%2Fyii2-queue/lists"}