Queue resource for Laravel Nova.
Supports only the database
queue driver.
Install package with Composer.
composer require den1n/nova-queues
Publish package resources.
php artisan vendor:publish --provider=Den1n\NovaQueues\ServiceProvider
This will publish the following resources:
config/nova-queues.php
.resources/lang/vendor/nova-queues
.resources/views/vendor/nova-queues
.Create database queue table if it's not exists.
php artisan queue:table
Migrate database.
php artisan migrate
Add instance of class Den1n\NovaQueues\Tool
to your App\Providers\NovaServiceProvider::tools()
method to display the jobs within your Nova resources.
/**
* Get the tools that should be listed in the Nova sidebar.
*
* @return array
*/
public function tools()
{
return [
new \Den1n\NovaQueues\Tool,
];
}
git checkout -b my-new-feature
.git commit -am 'Add some feature'
.git push origin my-new-feature
.If you require any support open an issue on this repository.
MIT