Download the PHP package croustibat/filament-jobs-monitor without Composer
On this page you can find all versions of the php package croustibat/filament-jobs-monitor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download croustibat/filament-jobs-monitor
More information about croustibat/filament-jobs-monitor
Files in croustibat/filament-jobs-monitor
Package filament-jobs-monitor
Short Description Background Jobs monitoring like Horizon for all drivers for FilamentPHP
License MIT
Homepage https://github.com/croustibat/filament-jobs-monitor
Informations about the package filament-jobs-monitor
Background Jobs monitoring like Horizon for all drivers for FilamentPHP
This is a package to monitor background jobs for FilamentPHP. It is inspired by Laravel Horizon and is compatible with all drivers.
Installation
Check your filamentPHP version before installing:
Version | FilamentPHP | PHP |
---|---|---|
1.* | 2.* | 8.1.* |
2.* | 3.* | 8.1. | 8.2. |
Install the package via composer:
Publish and run the migrations using:
Usage
Configuration
The global plugin config can be published using the command below:
This is the content of the published config file:
NOTE: Since there isn't a universal way to retrieve all used queues, it's necessary to define them to obtain all pending jobs.
Extending Model
Sometimes it's useful to extend the model to add some custom methods. You can do it by extending the model by creating your own model :
Then you can extend the model by adding your own methods :
Using Filament Panels
If you are using Filament Panels, you can register the Plugin to your Panel configuration. This will register the plugin's resources as well as allow you to set configuration using optional chainable methods.
For example in your app/Providers/Filament/AdminPanelProvider.php
file:
Usage
Just run a Background Job and go to the route /admin/queue-monitors
to see the jobs.
Example
Go to example folder to see a Job example file.
Then you can call your Job with the following code:
Enabling navigation
``
Or you can use a closure to enable navigation only for specific users:
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Croustibat
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-jobs-monitor with dependencies
filament/filament Version ^3.0
illuminate/contracts Version ^10.0|^11.0
spatie/laravel-package-tools Version ^1.13.5