PHP code example of vicmans / filament-number-input
1. Go to this page and download the library: Download vicmans/filament-number-input 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/ */
vicmans / filament-number-input example snippets
use Vicmans\FilamentNumberInput\FilamentNumberInput;
protected function form(): array
{
return [
...
FilamentNumberInput::make('quantity')
->minValue(1)
->maxValue(20)
->minusIcon('heroicon-o-arrow-left')
->default(5);
...
];
}