den1n / nova-queues

Queues resource for Laravel Nova.
MIT License
12 stars 8 forks source link

nova-queues

Queue resource for Laravel Nova.

Supports only the database queue driver.

Installation

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:

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,
    ];
}

Screenshots

Jobs

Jobs

Job Details

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