andersonav/laravel-trackable-jobs

This package provides a simple UI for the trackable jobs package.

v1.0.0 2024-08-20 11:26 UTC

This package is auto-updated.

Last update: 2024-10-20 11:46:31 UTC


README

This package provides a simple UI for the Trackable Jobs package.

Installation

You can install this package using composer:

composer require andersonav/laravel-trackable-jobs

Now, you must publish the package assets:

php artisan vendor:publish --tag=trackable-jobs-assets

You can also publish the package views for customization:

php artisan vendor:publish --tag=trackable-jobs-views

Usage

This package provides a simple livewire component that you can use to display the tracked jobs in your application. You can include it in your blade files with this line of code:

<livewire:trackable-jobs-job-status :trackedJobs="$trackedJobs"></livewire:trackable-jobs-job-status>

The $trackedJobs variables has the Collection of Alves\TrackableJobs\Models\TrackedJob models instance to be displayed using this component.