mateusjunges / laravel-trackable-jobs-ui
This package provides a simple UI for the trackable jobs package.
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Language:CSS
Requires
- php: ^7.4||^8.0
- livewire/livewire: ^2.8
- mateusjunges/laravel-trackable-jobs: ^1.1
Requires (Dev)
- orchestra/testbench: ^6.17
This package is auto-updated.
Last update: 2024-10-27 22:54:12 UTC
README
This package provides a simple UI for the Trackable Jobs package.
Installation
You can install this package using composer:
composer require mateusjunges/laravel-trackable-jobs-ui
Now, you must publish the package assets:
php artisan vendor:publish --tag=trackable-jobs-ui-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 Junges\TrackableJobs\Models\TrackedJob
models instance to be displayed using this component.