Skip to content
This repository was archived by the owner on May 12, 2020. It is now read-only.

Latest commit

 

History

History
28 lines (17 loc) · 511 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 511 Bytes

RconPHP

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