2017 © Pedro Peláez
 

library php-remote-server

Library to connect and manage remote servers via PHP

image

tiagobutzke/php-remote-server

Library to connect and manage remote servers via PHP

  • Tuesday, January 6, 2015
  • by tiagobutzke
  • Repository
  • 2 Watchers
  • 10 Stars
  • 70 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 4 Versions
  • 8 % Grown

The README.md

PHP REMOTE SERVER

Library to connect and manage remote servers via PHP., (*1)

--, (*2)

PHP extensions

  • SSH2 ** Ubuntu Instalation:
// apt-get install libssh2-php
// /etc/inid.d/apache2 restart

--, (*3)

Install via Composer

# add in composer.json
"require-dev": {
    "tiagobutzke/php-remote-server": "1.0.*"
}

How to use

SSH protocol

$remoteServer = new \RemoteServer\RemoteServer(
    new \RemoteServer\Ssh()
);

$remoteServer->connect('127.0.0.1', 'username', 'password', 'port');
$remoteServer->execute('ls -la');
var_dump($remoteServer->getResult());
var_dump($remoteServer->getArray());

Telnet protocol

$remoteServer = new \RemoteServer\RemoteServer(
    new \RemoteServer\Telnet()
);

$remoteServer->connect('127.0.0.1', 'username', 'password', 'port');
$remoteServer->execute('ls -la');
var_dump($remoteServer->getResult());
var_dump($remoteServer->getArray());

--, (*4)

Doubts

Email: tiago.butzke@gmail.com, (*5)

Twitter: @tiagobutzke, (*6)

The Versions

06/01 2015

dev-master

9999999-dev

Library to connect and manage remote servers via PHP

  Sources   Download

MIT

The Development Requires

by Tiago Butzke

telnet ssh connect remote server run command

14/09 2014

0.1.1

0.1.1.0

Library to connect and manage remote servers via PHP

  Sources   Download

MIT

The Development Requires

by Tiago Butzke

telnet ssh connect remote server run command

14/09 2014

0.1.0

0.1.0.0

Library to connect and manage remote servers via PHP

  Sources   Download

MIT

The Development Requires

by Tiago Butzke

telnet ssh connect remote server run command

20/09 2013

0.1

0.1.0.0

  Sources   Download

The Development Requires