christyb/sftp-api-bundle
最新稳定版本:1.0.0
Composer 安装命令:
composer require christyb/sftp-api-bundle
包简介
list files and directories of a sftp server, possibility to search by file or content
README 文档
README
Introduction
The purpose of this bundle is: first to list the files and directories of an sftp server; then to allow the search of a file or directory through its name; and finally to allow the search by content.
Installation
- Download WyndApiBundle using composer
- Add WyndApiBundle routing
1. Download WyndApiBundle using composer
Require the bundle with composer:
composer require christyb/sftp-api-bundle
2. Add WyndApiBundle routing
Add these lines in your config/routes/routes.yaml:
sftp_api_bundle:
resource: '@WyndApiBundle/Resources/config/routes.yaml'
prefix:
Routes
the differents routes availables in this bundle:
- /api/sftp/list
- /api/sftp/list/search?search=
- /api/sftp/list/search/content?word=
Documentation
- using of phpdocumentor :
- creation of the Doxygen configuration file:
- generation of documentation
Other
- No forget environment variables(sftp server)
- install phpseclib in your project
1. sftp
SFTP_HOST= #host of your sftp server SFTP_PASSWORD= #the password SFTP_USER= # the user
2. phpseclib
composer require phpseclib/phpseclib:~3.0
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-05-04