From 4e2f6217f11c29c18d9d4247bca09592faa95c70 Mon Sep 17 00:00:00 2001 From: Bubba Date: Mon, 14 Oct 2019 12:23:02 -0400 Subject: [PATCH 1/2] Initializing Doc_Updates for empty Pull Request From 97d3991399b9b6e8d8e699079872ab539bdc2e5c Mon Sep 17 00:00:00 2001 From: Bubba Date: Mon, 14 Oct 2019 12:23:20 -0400 Subject: [PATCH 2/2] Updated Readme --- README.md | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index a93c5c0..2e3bb46 100644 --- a/README.md +++ b/README.md @@ -12,31 +12,15 @@ We had a similar challenge, specifically accessing a MySQL database over an SSH So we wrote this package. We hope you enjoy it! ## Requirements -This package has been tested against Laravel/Lumen versions 5.2. 5.3, and 5.4. +This package has been tested against Laravel/Lumen versions 5.5 and 6.0. -We do not support version <=5.1. +We do not support version <5.5 now, look at our older, unsupported, versions for that. ## Installation ``` composer require stechstudio/laravel-ssh-tunnel ``` - -### Register the Provider (version 5.4 and earlier): - -For Lumen services, add: - -```php -$app->register(STS\Tunneler\TunnelerServiceProvider::class); -``` -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. ```ini @@ -74,7 +58,7 @@ TUNNELER_HOSTNAME=sshhost TUNNELER_PORT=sshport ; How long to wait, in microseconds, before testing to see if the tunnel is created. -; Depending on your network speeds you will want to modify the default of .5 seconds +; Depending on your network speeds you will want to modify the default of 1 seconds TUNNELER_CONN_WAIT=1000000 ; How often it is checked if the tunnel is created. Useful if the tunnel creation is sometimes slow,