banago/bridge
最新稳定版本:1.1.1
Composer 安装命令:
composer require banago/bridge
包简介
A PHP class to transfer data using different protocols (sftp, ftp, http, etc). Utilizes PHPs ssh2, ftp and curl functions if available.
README 文档
README
Brige is a common interface to comuncate with a server through FTP and SFTP. SFTP support requires the php_ssh2 PHP extension.
##Installation
The recommended way to install Bridge is through Composer.
composer require banago/bridge
Or
{
"require": {
"banago/bridge": "dev-master",
}
}
Example
<?php require __DIR__.'/vendor/autoload.php'; use Banago\Bridge\Bridge; $conn = new Bridge('ftp://ftp.funet.fi'); //List directory contents print_r($conn->ls()); //Display contents of the README file echo $conn->get('README');
License
LGPL v3
Credits
Brige is a fork of Connection.php project created by Tuomas Angervuori. Brige is further developed and actively maintained by Baki Goxhaj as part of the PHPloy project.
统计信息
- 总下载量: 15.13k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 22
- 点击次数: 1
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: LGPL
- 更新时间: 2014-08-08