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 7mo agoCompare

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

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

15

—

LowBetter than 3% of packages

Maintenance44

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://www.gravatar.com/avatar/a7d6fc47377b5c93379a17b02492528721d9fd5ec1ab7bf81208efffb14666fa?d=identicon)[Fabito](/maintainers/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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)

PHPackages © 2026

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