Skip to content

banago/Bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bridge

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.

About

Brige is a common interface to transfer data through FTP and SFTP protocols.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages