PHP code example of llaski / nova-scheduled-jobs

1. Go to this page and download the library: Download llaski/nova-scheduled-jobs library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

llaski / nova-scheduled-jobs example snippets


// in app/Providers/NovaServiceProvider.php


namespace App\Providers;

use Llaski\NovaScheduledJobs\Tool as NovaScheduledJobsTool;

// ...

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

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


namespace App\Nova\Dashboards;

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

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