Download the PHP package savvii/ssh-tunnel without Composer
On this page you can find all versions of the php package savvii/ssh-tunnel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download savvii/ssh-tunnel
More information about savvii/ssh-tunnel
Files in savvii/ssh-tunnel
Download savvii/ssh-tunnel
More information about savvii/ssh-tunnel
Files in savvii/ssh-tunnel
Vendor savvii
Package ssh-tunnel
Short Description Small library to create an SSH tunnel, for example for MySQL
License MIT
Package ssh-tunnel
Short Description Small library to create an SSH tunnel, for example for MySQL
License MIT
Please rate this library. Is it a good library?
Informations about the package ssh-tunnel
Small library to create a SSH Tunnel
Example usage:
When the PHP script ends or the SshTunnel
object is destroyed the SSH tunnel is disconnected.
Warning
When you create the object but let it go out of scope, by default the SSH tunnel will be cleaned up. This will not work:
This will work:
If you are creating the SshTunnel
object in the constructor of a class, make sure to store it in a class property,
to make it not go out of scope when the constructor is finished.
Requirements
- Linux, MacOS or FreeBSD
- PHP 8.0 or greater
- PHP functions
proc_open
,proc_close
,proc_terminate
andproc_get_status
enabled - Binary
ssh
- Binary
lsof
, used by default but can be skipped. - Binary
nc
, used by default but can be skipped.
All versions of ssh-tunnel with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
The package savvii/ssh-tunnel contains the following files
Loading the files please wait ....