masoudi/nova-progress-field

This package is abandoned and no longer maintained. No replacement package was suggested.

Laravel Nova progress bar field

0.3 2022-08-26 12:30 UTC

This package is auto-updated.

Last update: 2023-07-29 02:26:07 UTC


README

A progress bar field for the Laravel Nova

progress-field-preview

Install

composer require masoudi/nova-progress-field

Usage

use Masoudi\Nova\Fields\Progress;

Progress::make('Progress')
    ->min(0) // default: 0
    ->max(100) // default: 100
    ->step(1) // default: 1
    ->default(25) // deafult number value
    ->displayUsing(fn ($progress) => "$progress%"), // change display text: 25%

Please star package on github. Thank you.