team-reflex/rcon-php

This package is abandoned and no longer maintained. No replacement package was suggested.

CS:GO Rcon client made in PHP.

v1.0.0 2016-01-22 09:59 UTC

This package is not auto-updated.

Last update: 2020-05-29 18:40:50 UTC


README

CS:GO Rcon client made in PHP.

Usage

<?php

use Reflex\Rcon\Rcon;

$rcon = new Rcon(':ip_address', :port, ':rcon_password');
$rcon->connect();

// Set the socket timeout if you want to, defaults to 2 seconds.
$rcon->setTimeout(:seconds);

// Execute a rcon command
$rcon->exec('say PHP!');

License

The code in this repository is subject to the MIT license which can be found in the LICENSE file in this repository.

Credits