lara-zeus/progress
This is a fork from filaprogress, fully maintained and up to date.
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
sazzadbinashique/laravel-excel-importer
A Laravel package for importing Excel files with preview, validation, progress t...
5
4
lacodix/laravel-metric-cards
Get insights in your laravel applications key business values with metrics visua...
1,303
1
maystro/filament-popup-modal
A comprehensive modal dialog system for FilamentPHP with progress bars, callback...
9
1
tapp/filament-progress-bar-column
Add beautiful, color-coded progress bars to your Filament table columns. Perfect...
23,202
13
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 |