Skip to content

kaiserkiwi/nova-queue-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nova Queue Management for Laravel Nova 4

A simple management of your pending or failed jobs directly in Laravel Nova. With the ability to rerun failed jobs directly from the Nova interface.

To use this package you need to use the database queue driver.

This is the successor of the now abandoned den1n/nova-queues package. If you are using the old package, please remove it before installing this one. You definitely need this new package if you are using Laravel 10 or higher as the failed jobs model was incompatible with Laravel 10. This package also adds some new features and improvements.

Installation

Install package with Composer.

composer require kaiserkiwi/nova-queue-management

Publish package resources.

php artisan vendor:publish --provider='Kaiserkiwi\NovaQueueManagement\ServiceProvider'

This will publish the following resources:

  • Configuration file config/nova-queue-management.php.
  • Translations lang/vendor/nova-queue-management.

Create database table jobs if it does not exist.

php artisan queue:table

Migrate database.

php artisan migrate

Add instance of class Kaiserkiwi\NovaQueueManagement\Tool to your App\Providers\NovaServiceProvider::tools() method to display the jobs within your Nova resources.
If you come from den1n/nova-queues you have to remove the previous reference.

/**
 * Get the tools that should be listed in the Nova sidebar.
 *
 * @return array
 */
public function tools()
{
    return [
        new \Kaiserkiwi\NovaQueueManagement\Tool,
    ];
}

Screenshots

Jobs

Jobs

Job Details

Job Details

Failed Jobs

Job Details

Contributing

  1. Fork it.
  2. Create your feature branch: git checkout -b my-new-feature.
  3. Commit your changes: git commit -am 'Add some feature'.
  4. Push to the branch: git push origin my-new-feature.
  5. Submit a pull request.

Support

If you require any support open an issue on this repository.

License

MIT