Registry / crypto / phpseclib-phpseclib

phpseclib-phpseclib

JSON →
library3.0.55phppackagistunverified

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

composer require phpseclib/phpseclib
INSTALL
IMPORT
SIG · PHPSECLIB-PHPSECLI
P
phpseclib-phpseclib
cryptophpv3.0.55
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.

SSH2
use phpseclib3\Net\SSH2;

Connect to an SSH server and execute a command.

<?php use phpseclib3\Net\SSH2; $ssh = new SSH2('example.com'); if (!$ssh->login('username', 'password')) { exit('Login Failed'); } echo $ssh->exec('pwd');
Debug
Known issues
breakingBreaking change from v2 to v3: namespace changed from phpseclib to phpseclib3.
fix
Update use statements to use phpseclib3 namespace and check for other API changes.
affects: >=3.0.0
Upgrade
Version history
3.0.55latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
Amazon
1
Resources
phpseclib-phpseclib — pip install phpseclib-phpseclib · libregistry