This is the documentation for
You can switch versions in the menu on the left/at the top.
Check your current version with the following command:
composer show mateusjunges/trackable-jobs-for-laravel
To persist the output of your job to the database, you only need to return something from your job. By default, if your job throws an exception, the output stored in the database will be the message of the given exception. If your job finishes successfully, you don't have to return anything, but you can store it's output by just returning something after the job is done. For example:
public function handle()
//Do your stuff here
return "Job finished successfully";
Job finished successfully will be stored as the output of this job.