# Installation

### Download

Use composer in order to download Wavel

```bash
composer require ardzz/wavel
```

### Configuration for Laravel

Publish vendor

```bash
php artisan vendor:publish --provider="Ardzz\\Wavel\\WavelServiceProvider"
```

Configuration of environment

| Key             | Description                                                                          | Required/Optional |
| --------------- | ------------------------------------------------------------------------------------ | ----------------- |
| WAVEL\_HOST     | Host of easy API Open WA                                                             | Required          |
| WAVEL\_API\_KEY | Api key of easy API Open WA (if you set the Api key, then this key will be required) | Optional          |
| WAVEL\_PROXY    | The proxy will be used on each request into Host easy API Open WA                    | Optional          |

Example .env configuration

```bash
WAVEL_HOST=http://wavel.ardzz.codes:2019
WAVEL_API_KEY=V3ryS3cR3t
```

### Configuration for Standalone

Standalone no need configuration
