@@ -12,31 +12,15 @@ We had a similar challenge, specifically accessing a MySQL database over an SSH
12
12
So we wrote this package. We hope you enjoy it!
13
13
14
14
## 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 .
16
16
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 .
18
18
19
19
## Installation
20
20
21
21
```
22
22
composer require stechstudio/laravel-ssh-tunnel
23
23
```
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
-
40
24
## Configuration
41
25
All configuration can and should be done in your ` .env ` file.
42
26
``` ini
@@ -74,7 +58,7 @@ TUNNELER_HOSTNAME=sshhost
74
58
TUNNELER_PORT =sshport
75
59
76
60
; 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
78
62
TUNNELER_CONN_WAIT =1000000
79
63
80
64
; How often it is checked if the tunnel is created. Useful if the tunnel creation is sometimes slow,
0 commit comments