PHP code example of sawirricardo / filament-nouislider

1. Go to this page and download the library: Download sawirricardo/filament-nouislider 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/ */

    

sawirricardo / filament-nouislider example snippets


return [
];

use Sawirricardo\FilamentNouislider\Forms\Components\Nouislider;
$form->schema([
    Nouislider::make('my_slider')
        ->live()
        ->start([5, 8])
        ->minValue(0)
        ->maxValue(10)
        ->step(1)
        ->connect(),
]);
bash
php artisan vendor:publish --tag="filament-nouislider-config"
bash
php artisan vendor:publish --tag="filament-nouislider-views"