heedworks / laravel-queue-azure
Laravel Queue 的 Azure 队列驱动程序
dev-master
2014-02-17 02:38 UTC
Requires
- php: >=5.3.0
- microsoft/windowsazure: *
Requires (Dev)
- illuminate/config: 4.1.*
- illuminate/queue: 4.1.*
- illuminate/support: 4.1.*
This package is not auto-updated.
Last update: 2024-09-28 16:09:27 UTC
README
#安装
将以下内容添加到您的 composer.json 文件中,以将此包作为依赖项包含
{
"require": {
"heedworks/laravel-queue-azure": "dev-master"
},
"repositories": [
{
"type": "pear",
"url": "http://pear.php.net"
}
],
"minimum-stability": "dev"
}
通过将其添加到 app/config/app.php 文件中的 providers 数组中来注册 Azure Queue 服务提供者。
Heedworks\LaravelQueueAzure\LaravelQueueAzureServiceProvider
#配置
在 app/config/queue.php 中配置您的连接
'azure' => array( 'driver' => 'azure', 'queue' => 'your-queue-name', 'protocol' => 'your-protocol-choice', // http or https 'account' => 'your-account-name', 'key' => 'your-key' )
#使用有关 Laravel 队列的信息,请参阅官方文档: https://laravel.net.cn/docs/queues