lara-zeus/progress
This is a fork from filaprogress, fully maintained and up to date.
The Progress Management Package for FilamentPHP provides a flexible and easy-to-use solution for tracking and visualizing progress within Filament admin panels.
Versions
| Plugin Version | Filament Version |
|---|---|
v1.x |
v2.x |
v2.x |
v3.x |
v3.x |
v3.x |
Support Filament
Installation
You can install the package via composer:
composer require lara-zeus/progress
Optionally, you can publish the views using
php artisan vendor:publish --tag="progress-views"
Usage
// For infolist
use LaraZeus\Progress\Infolists\Components\CircleProgressEntry;
use LaraZeus\Progress\Infolists\Components\ProgressBarEntry;
return $infolist
->schema([
CircleProgressEntry::make('circle')
->getStateUsing(function ($record) {
$total = $record->items()->count();
$progress = $record->countPaidItems();
return [
'total' => $total,
'progress' => $progress,
];
})
->hideProgressValue(),
ProgressBarEntry::make('bar')
->getStateUsing(function ($record) {
$total = $record->items()->count();
$progress = $record->countPaidItems();
return [
'total' => $total,
'progress' => $progress,
];
})
->hideProgressValue(),
// For table
use LaraZeus\Progress\Tables\Columns\CircleProgress;
use LaraZeus\Progress\Tables\Columns\ProgressBar;
return $table
->columns([
CircleProgress::make('circle')
->getStateUsing(function ($record) {
$total = $record->items()->count();
$progress = $record->countPaidItems();
return [
'total' => $total,
'progress' => $progress,
];
})
->hideProgressValue(),
ProgressBar::make('bar')
->getStateUsing(function ($record) {
$total = $record->items()->count();
$progress = $record->countPaidItems();
return [
'total' => $total,
'progress' => $progress,
];
})
->hideProgressValue(),
Demo
Visit our demo site: https://translatable.larazeus.com/admin/books
Full Documentation
Visit our website to get the complete documentation: https://larazeus.com/docs/progress
Testing
composer test
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
Related Packages
lara-zeus/zeus
a standalone app., a Starter Kit; it's pre-configured to run all Zeus packages a...
1,163
87
devletes/filament-progress-bar
Reusable progress bar components for Filament 5 tables and infolists.
24,770
12
maystro/filament-popup-modal
A comprehensive modal dialog system for FilamentPHP with progress bars, callback...
10
1
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| 3.0.1 | ^8.2 | MIT | |
| 3.0.0 | ^8.2 | MIT | |
| 2.0.0 | ^8.2 | MIT | |
| 1.0.2 | ^8.2 | MIT | |
| 1.0.1 | ^8.2 | MIT | |
| 1.0.0 | ^8.2 | MIT |
