| Package Data | |
|---|---|
| Maintainer Username: | vkoori | 
| Package Create Date: | 2023-04-15 | 
| Package Last Update: | 2023-06-17 | 
| Home Page: | |
| Language: | PHP | 
| License: | Unknown | 
| Last Refreshed: | 2025-10-28 03:09:33 | 
| Package Statistics | |
|---|---|
| Total Downloads: | 303 | 
| Monthly Downloads: | 0 | 
| Daily Downloads: | 0 | 
| Total Stars: | 1 | 
| Total Watchers: | 1 | 
| Total Forks: | 0 | 
| Total Open Issues: | 0 | 
composer require vkoori/identifier-queue
Add this lines to bootstrap/app.php file.
$app->register(\Kooriv\Queue\Providers\QueueServiceProvider::class);
For Laravel versions before 5.5 or if not using auto-discovery, register the service provider in config/app.php
Add connection to config/queue.php:
'identify' => [
    'driver' => 'identify',
    'table' => 'identify_jobs',
    'queue' => 'default',
    'retry_after' => 90,
    'after_commit' => false,
]
php artisan queue:identifier-table
php artisan migrate
Note
This table is fully compatible with the Lumen/Laravel database driver. So don't be afraid when using this table.
You can dispatch your jobs in the queue using the helper function below
dispatcher(new ExampleJob)->onConnection("identify")->onQueue("queue")->setIdentifier("identifier");
Note
If you want to set an
identifierCode, your job must have use following trait:
use \Kooriv\Queue\Illuminate\Bus\Trait\IdentifierCode;
Note
Using this helper function will not cause any damage to other drivers.