Registry / networking / herzult-php-ssh

herzult-php-ssh

JSON →
library1.1.1phppackagistunverified

Provides an object-oriented wrapper for the php ssh2 extension.

composer require herzult/php-ssh
INSTALL
IMPORT
SIG · HERZULT-PHP-SSH
H
herzult-php-ssh
networkingphpv1.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SshClient
use Herzult\PhpSsh\SshClient;

Connect to an SSH server and execute a command.

use Herzult\PhpSsh\SshClient; $client = new SshClient('host', 'username'); $client->login('password'); $output = $client->exec('ls -la');
Debug
Known issues
breakingRequires the php-ssh2 extension to be installed.
fix
Install the SSH2 extension via pecl or your package manager.
affects: >=1.0.0
Upgrade
Version history
1.1.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
herzult-php-ssh — pip install herzult-php-ssh · libregistry