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

teamreflex/RconPHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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