PHP code example of icetalker / filament-stepper
1. Go to this page and download the library: Download icetalker/filament-stepper library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
icetalker / filament-stepper example snippets
use Icetalker\FilamentStepper\Forms\Components\Stepper;
protected function getFormSchema(): array
{
return [
...
Stepper::make('quantity')
->minValue(1)
->maxValue(20)
->default(5);
...
];
}