此包的最新版本(dev-main)没有提供许可证信息。

dev-main 2021-07-02 08:56 UTC

This package is not auto-updated.

Last update: 2024-09-21 15:53:30 UTC


README

⌛ Laravel中的Gearman提供者

这使得在laravel框架中使用Gearman变得简单

要求

  1. PHP >= 7.3
  2. illuminate/queue => 7.* | 8.*

安装

$ composer require laravel-widgets/Gearman -vvv

可选,你可以发布配置文件

$ php artisan vendor:publish --provider="LaravelWidgets\Gearman\ServiceProvider" --tag=config

更改应用配置 config/app.config

    'default' => 'gearman',

    'connections' => [
        'driver' => 'gearman',
        'host'   => 'localhost',
        'queue'  => 'default',
        'port'   => '4730',
        'timeout' => 1000, //milliseconds
    ]