2017 © Pedro Peláez
 

library rcon

PHP RCON Client

image

gries/rcon

PHP RCON Client

  • Monday, April 11, 2016
  • by gries
  • Repository
  • 4 Watchers
  • 10 Stars
  • 509 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 2 % Grown

The README.md

RCON

This is a simple RCON-Client for php., (*1)

SensioLabsInsight, (*2)

Build Status Code Quality, (*3)

Installation

RCON can be installed via. Composer:, (*4)

composer require "gries/rcon"

Usage

use gries\Rcon\MessengerFactory;
use gries\Rcon\Messenger;

require_once __DIR__.'/vendor/autoload.php';

// setup the messenger
$messenger = MessengerFactory::create('example.com', 25575, 'mypass');

// send a simple message
$response = $messenger->send('list');
echo $response; // a,b,c

// send a message and parse the command via. a callable
$response = $messenger->send('list', function($arg) {
    return explode(',', $arg);
});
print_r($response); // ['a', 'b', 'c']

Running the tests

vendor/bin/phpspec run

Contribute!

Feel free to give me feedback/feature-request/bug-reports via. github issues. Or just send me a pull-request :), (*5)

Author

License

For the full copyright and license information, please view the LICENSE file that was distributed with this source code., (*6)

The Versions

11/04 2016

dev-master

9999999-dev

PHP RCON Client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christoph Rosse

rcon

07/06 2015

0.0.3

0.0.3.0

PHP RCON Client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christoph Rosse

rcon

07/06 2015

dev-add_fragemented_response_support

dev-add_fragemented_response_support

PHP RCON Client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christoph Rosse

rcon

13/12 2014

0.0.2

0.0.2.0

PHP RCON Client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christoph Rosse

rcon

12/12 2014

0.0.1

0.0.1.0

PHP RCON Client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christoph Rosse

rcon