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.
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,
];
}
- Fork it.
- Create your feature branch:
git checkout -b my-new-feature
. - Commit your changes:
git commit -am 'Add some feature'
. - Push to the branch:
git push origin my-new-feature
. - Submit a pull request.
If you require any support open an issue on this repository.
MIT