Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

Commit f6840d2

Browse files
committed
Docs updated
1 parent eed99fe commit f6840d2

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Yii 2 File Storage extension Change Log
55
-----------------------
66

77
- Enh #4: Added `yii2tech\filestorage\BucketInterface::openFile()` allowing to open file as a PHP resource (klimov-paul)
8+
- Enh #6: SFTP file storage implemented via `yii2tech\filestorage\sftp\Storage` (klimov-paul)
89
- Enh #7: Usage of URL routes for `BucketInterface::getFileUrl()` provided (klimov-paul)
910

1011

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ echo $bucket->getFileUrl('file.txt'); // outputs: 'http://domain.com/files/f/i/f
112112

113113
Following file storages are available with this extension:
114114
- [[\yii2tech\filestorage\local\Storage]] - stores files on the OS local file system.
115+
- [[\yii2tech\filestorage\sftp\Storage]] - stores files using SSH2 SFTP.
115116
- [[\yii2tech\filestorage\amazon\Storage]] - stores files using Amazon simple storage service (S3).
116117
- [[\yii2tech\filestorage\mongodb\Storage]] - stores files using MongoDB GridFS.
117118
- [[\yii2tech\filestorage\hub\Storage]] - allows combination of different file storages.

sftp/Storage.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
/**
1414
* Storage introduces the file storage based on the SSH2 SFTP
1515
*
16+
* This storage requires [PHP ssh2 extension](http://php.net/manual/en/book.ssh2.php) to be installed.
17+
*
1618
* @see Connection
1719
*
1820
* @property resource $sftp related SFTP subsystem session.

0 commit comments

Comments
 (0)