scai / php-webrcon
PHP library to send & receive commands from rust server based on websocket client.
Fund package maintenance!
php-webrcon
Installs: 2 785
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 3
Open Issues: 3
Requires
- php: >=8
- ext-json: *
- illuminate/log: ^9.48
- monolog/monolog: ^2.8
- phrity/websocket: ^1.6
Requires (Dev)
- friendsofphp/php-cs-fixer: ^v3.13.2
- pestphp/pest: ^1.22
- pestphp/pest-plugin-mock: ^v1.0.3
- symfony/var-dumper: ^6.0
This package is auto-updated.
Last update: 2024-11-09 11:39:06 UTC
README
PHP library to send & receive commands from rust server based on websocket client.
Installation
You can install the package via composer:
composer require scai/php-webrcon
Usage
$rcon = new Scai\WebRcon\WebRconClass(); $rcon->connect('IP', RCON_PORT, 'RCON_PASSWORD'); $rcon->send('serverinfo'); $data = $rcon->receive();
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.