@@ -12,31 +12,15 @@ We had a similar challenge, specifically accessing a MySQL database over an SSH
1212So we wrote this package. We hope you enjoy it!
1313
1414## Requirements
15- This package has been tested against Laravel/Lumen versions 5.2. 5.3, and 5.4 .
15+ This package has been tested against Laravel/Lumen versions 5.5 and 6.0 .
1616
17- We do not support version <=5.1 .
17+ We do not support version <5.5 now, look at our older, unsupported, versions for that .
1818
1919## Installation
2020
2121```
2222composer require stechstudio/laravel-ssh-tunnel
2323```
24-
25- ### Register the Provider (version 5.4 and earlier):
26-
27- For Lumen services, add:
28-
29- ``` php
30- $app->register(STS\Tunneler\TunnelerServiceProvider::class);
31- ```
32- to ` bootstrap/app.php ` . For Laravel applications, add:
33-
34- ``` php
35- STS\Tunneler\TunnelerServiceProvider::class,
36- ```
37-
38- to the ` providers ` array in ` config/app.php ` .
39-
4024## Configuration
4125All configuration can and should be done in your ` .env ` file.
4226``` ini
@@ -74,7 +58,7 @@ TUNNELER_HOSTNAME=sshhost
7458TUNNELER_PORT =sshport
7559
7660; How long to wait, in microseconds, before testing to see if the tunnel is created.
77- ; Depending on your network speeds you will want to modify the default of .5 seconds
61+ ; Depending on your network speeds you will want to modify the default of 1 seconds
7862TUNNELER_CONN_WAIT =1000000
7963
8064; How often it is checked if the tunnel is created. Useful if the tunnel creation is sometimes slow,
0 commit comments