vandzaxe / yii2-sftp-phpseclib
yii2 sftp ssh2 phpseclib
Installs: 33
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 2
Type:yii2-extension
Requires
- phpseclib/phpseclib: ^2.0
- yiisoft/yii2: >=2.0.5
This package is auto-updated.
Last update: 2025-03-20 10:56:16 UTC
README
Installation by composer
{
"require": {
"vandzaxe/yii2-sftp-phpseclib": "dev-master"
}
}
or
$ composer require vandzaxe/yii2-sftp-phpseclib
USAGE
'components' => [
...
'sftp' => [
"class" => 'Vandzaxe\sftp\SFtpManager',
"settings"=>[
'port'=>22,
'timeout'=>10
]
],
],
$sftp = Yii::$app->sftp
$sftp->connect("host","user","pass");
echo $sftp->isConnected();
Documentation
- Documentation / Manual
- API Documentation (generated by Sami)
License
MIT