PHP code example of repat / laravel-job-models
1. Go to this page and download the library: Download repat/laravel-job-models 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/ */
repat / laravel-job-models example snippets
$job = \Repat\LaravelJobs\Job::first();
$job->display_name;
$job->max_tries;
$job->delay;
$job->timeout;
$job->timeout_at; // cast to Carbon if not null
$job->command_name; // ->payload['data']['commandName']
$job->command; // unserialized