Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,21 @@ We do not support version <=5.1.
```
composer require stechstudio/laravel-ssh-tunnel
```
Then register the provider

### Register the Provider:

For Lumen services, add:

```php
$app->register(STS\Tunneler\TunnelerServiceProvider::class);
```
in your `bootstrap/app.php` for Lumen services or add it to your `providers` array in `config/app.php` for Laravel applications.
to `bootstrap/app.php`. For Laravel applications, add:

```php
STS\Tunneler\TunnelerServiceProvider::class,
```

to the `providers` array in `config/app.php`.

## Configuration
All configuration can and should be done in your `.env` file.
Expand Down