PHPackages                             fabito/sof2rcon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. fabito/sof2rcon

ActiveLibrary[HTTP &amp; Networking](/categories/http)

fabito/sof2rcon
===============

Connects to SoF2 game servers via custom UDP RCON protocol

00PHP

Since Oct 4Pushed 9mo agoCompare

[ Source](https://github.com/fabiantomischka/Sof2Rcon)[ Packagist](https://packagist.org/packages/fabito/sof2rcon)[ RSS](/packages/fabito-sof2rcon/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

SoF2 RCON PHP
-------------

[](#sof2-rcon-php)

Connect to your SoF2 game server within seconds! SoF2 uses a custom RCON protocol over UDP.

Thanks to [Janno](https://github.com/JannoEsko) for a lot of the insight!

Usage
-----

[](#usage)

Use composer to install it into your project `composer install astinox/sof2rcon`

Initialize the server connection

```
use Astinox\Sof2rcon\Sof2Rcon;

// RCON is optionally if you just want to read status/info lists from servers
$sof2rcon = new Sof2rcon($ip, $port = 20100, $rcon = null);

// Print the server status (hostname, gametype, scorelimit, ...)
$status = $sof2rcon->status();

// Get a list of current players
$players = $sof2rcon->players();

// Run any RCON command
$sof2rcon->rcon('map mp_shop');
```

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability within Sof2RCON, please email me at !

License
-------

[](#license)

SoF2RCON is open source software licensed under the [MIT license](LICENSE.md).

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance41

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/308613?v=4)[Fábio Franco Uechi](/maintainers/Fabito)[@fabito](https://github.com/fabito)

### Embed Badge

![Health badge](/badges/fabito-sof2rcon/health.svg)

```
[![Health](https://phpackages.com/badges/fabito-sof2rcon/health.svg)](https://phpackages.com/packages/fabito-sof2rcon)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M91](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
