diff --git a/README.md b/README.md index 2678aa4..8eebbe6 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,13 @@ 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. + +We do not support version <=5.1. + ## Installation + ``` composer require stechstudio/laravel-ssh-tunnel ``` diff --git a/composer.json b/composer.json index e914ae3..d4b49fc 100644 --- a/composer.json +++ b/composer.json @@ -26,5 +26,7 @@ } ], "minimum-stability": "dev", - "require": {} + "require": { + "illuminate/support": "5.2.x|5.3.x|5.4.x" + } } diff --git a/src/Jobs/CreateTunnel.php b/src/Jobs/CreateTunnel.php index a396d10..d6aa6a9 100644 --- a/src/Jobs/CreateTunnel.php +++ b/src/Jobs/CreateTunnel.php @@ -73,7 +73,7 @@ protected function createTunnel() * Verifies whether the tunnel is active or not. * @return bool */ - protected function verifyTunnel(): bool + protected function verifyTunnel() { return $this->runCommand($this->ncCommand); } @@ -83,7 +83,7 @@ protected function verifyTunnel(): bool * @param $command * @return bool */ - protected function runCommand($command): bool + protected function runCommand($command) { $return_var = 1; exec($command, $this->output, $return_var);