Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sawirricardo committed Oct 11, 2023
1 parent 224447e commit 6011609
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/sawirricardo/filament-nouislider/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/sawirricardo/filament-nouislider/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
[![Total Downloads](https://img.shields.io/packagist/dt/sawirricardo/filament-nouislider.svg?style=flat-square)](https://packagist.org/packages/sawirricardo/filament-nouislider)



This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
Use NoUiSlider

## Installation

Expand All @@ -17,13 +15,6 @@ You can install the package via composer:
composer require sawirricardo/filament-nouislider
```

You can publish and run the migrations with:

```bash
php artisan vendor:publish --tag="filament-nouislider-migrations"
php artisan migrate
```

You can publish the config file with:

```bash
Expand All @@ -46,8 +37,16 @@ return [
## Usage

```php
$filamentNouislider = new Sawirricardo\FilamentNouislider();
echo $filamentNouislider->echoPhrase('Hello, Sawirricardo!');
use Sawirricardo\FilamentNouislider\Forms\Components\Nouislider;
$form->schema([
Nouislider::make('my_slider')
->live()
->start([5, 8])
->minValue(0)
->maxValue(10)
->step(1)
->connect(),
]);
```

## Testing
Expand Down

0 comments on commit 6011609

Please sign in to comment.