承接 christyb/sftp-api-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

  1. Download WyndApiBundle using composer
  2. 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

  1. No forget environment variables(sftp server)
  2. 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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-04