andersonav / laravel-trackable-jobs
This package provides a simple UI for the trackable jobs package.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:CSS
Requires
- php: ^7.4||^8.0
- livewire/livewire: ^2.8
Requires (Dev)
- orchestra/testbench: ^6.17
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.