llaski/nova-scheduled-jobs

A Laravel Nova package to view your scheduled jobs.


README

Latest Version on Packagist Test Suite Total Downloads

Includes both a tool and card to display your scheduled commands and jobs

Tool

Please note that for the tool there are a large number of columns and depending on the type of scheduled jobs you have you may need to scroll horizontally to see all columns as well as view the actions available which include being able to dispatch certain jobs.

Nova Scheduled Jobs Tool Screenshot

Card

Nova Scheduled Jobs Card Screenshot

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require llaski/nova-scheduled-jobs

To setup the tool, you must register the tool with Nova. This is typically done in the tools method of the NovaServiceProvider.

// in app/Providers/NovaServiceProvider.php
<?php

namespace App\Providers;

use Llaski\NovaScheduledJobs\Tool as NovaScheduledJobsTool;

// ...

public function tools()
{
    return [
        // ...
        new NovaScheduledJobsTool,
    ];
}

To setup the card, you must register the card with Nova. This is typically done in the cards method of your resource or dashboard. For example:

// in app/Nova/Dashboards/Main.php
<?php

namespace App\Nova\Dashboards;

use Llaski\NovaScheduledJobs\Card as NovaScheduledJobsCard;
// ...

public function cards()
{
    return [
        // ...
        new NovaScheduledJobsCard,
    ];
}

Testing

vendor/bin/phpunit --verbose

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email larry.laski@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.