From ed06f2b195e513ae381b07146b68afc5a5e9db1a Mon Sep 17 00:00:00 2001 From: Robert Daeley Date: Thu, 11 May 2017 15:14:56 -0700 Subject: [PATCH] Rewording an unclear section of README.md Changing the wording of the "Register the Provider" section to be clearer. --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4415dec..faaf777 100644 --- a/README.md +++ b/README.md @@ -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.