faulker / laravel5-rackspace-cloudqueue
Rackspace CloudQueue 驱动程序,用于 Laravel 5 队列
该软件包的官方仓库似乎已消失,因此该软件包已被冻结。
v1.0.5
2016-07-14 23:48 UTC
Requires
- illuminate/queue: 5.*
- rackspace/php-opencloud: 1.*
This package is not auto-updated.
Last update: 2020-06-05 01:17:08 UTC
README
注意:这是 Russell Todd 的 Laravel 5.0 分支的分支(https://github.com/npmweb/laravel-rackspace-cloudqueue)
## 安装
通过 Composer 安装
在 composer.json 中添加此软件包并运行 composer update
"faulker/laravel5-rackspace-cloudqueue": "~1.0"
添加配置
// config/queue.php return array( 'default' => 'rackspace', 'connections' => array( 'rackspace' => [ 'driver' => 'rackspace', 'queue' => 'default_tube', // the default queue 'endpoint' => 'US', // US or UK 'username' => 'SOME_RACKSPACE_USERNAME', 'apiKey' => 'SOME_RACKSPACE_API_KEY', 'region' => 'ORD', // THE REGION WHERE THE QUEUE IS SETUP 'urlType' => 'internalURL', // [Optional] (default: internalURL) publicURL if connection from remote network or internalURL if connection from RackSpace network. ] ), );,
添加服务提供者
/// config/app.php return array( 'providers' => array( 'Faulker\RackspaceCloudQueue\RackspaceCloudQueueServiceProvider' ), );