New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

lukasz-adamski/laravel-rcon

Source RCON Protocol Service Provider for Laravel
1,618 5

Larablocks Analysis

lukasz-adamski/laravel-rcon works with Laravel 6 (latest release 1.0.2, Sep 8, 2019), which reached end of life on Sep 6, 2022: no more fixes, even for security.

Laravel 5 in earlier releases.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 6, past end of life since Sep 6, 2022
  • No release in the last 12 months (last: Sep 8, 2019)
  • 24 downloads a month (needs 10,000)
  • 5 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Sep 8, 2019.
  • No releases in the last 12 months.
  • First released: Sep 8, 2019.
  • Monthly downloads: 24.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 30, 2026.

Install
composer require lukasz-adamski/laravel-rcon
Latest Version:1.0.2
Laravel:6
Older releases:5
License:MIT
Last Updated:Sep 8, 2019
Links: GitHub  ·  Packagist
Maintainer: lukasz-adamski

Source RCON Protocol Service Provider for Laravel

This package is developed to provide Laravel Framework service allowing you to work with source RCON protocol. You can read more protocol specification on this page: https://developer.valvesoftware.com/wiki/Source_RCON_Protocol

Installation

  1. Install composer package using command:
composer require lukasz-adamski/laravel-rcon
  1. Add Service Provider in config/app.php:
Adams\Rcon\RconServiceProvider::class,
  1. Add Facade in config/app.php:
'Rcon' => Adams\Rcon\Facades\Facade::class,
  1. Publish configuration file to your project:
php artisan vendor:publish --provider="Adams\Rcon\RconServiceProvider"

Environment

You can setup environment variables to establish default RCON connection.

  • RCON_CONNECTION - default RCON connection name stored in config/rcon.php,
  • RCON_HOST - RCON server hostname,
  • RCON_PORT - RCON server listening port,
  • RCON_PASSWORD - passphrase used to authorize connection, you can use null to skip authorization,
  • RCON_TIMEOUT - RCON server connection timeout.

Testing

To run predefined test set use:

php vendor/bin/phpunit

Usage

Below you have example controller implementation:

<?php

namespace App\Http\Controllers;

use Rcon;
use App\Http\Controllers\Controller;

class SimpleRconController extends Controller
{
    /**
     * Execute status command on default RCON server.
     *
     * @return Response
     */
    public function defaultStatus()
    {
        $response = Rcon::command('status');

        return view('console', compact('response'));
    }

    /**
     * Execute status command on specified RCON connection.
     *
     * @return Response
     */
    public function gameServerStatus()
    {
        $response = Rcon::connection('game_server')
            ->command('status');

        return view('console', compact('response'));
    }
}

Related Packages

rmts/laravel-akamai

Simple AKAMAI API integration for Laravel

8,656 1
luracast/restler

Restler is a simple and effective multi-format Web API Server framework written...

601,518 1,387
qbnk/restler

Fork of luracast/restler with own additions.

3,988
fireguard/lumen-api

Basic API Implementing with Lumen.

4 2
lanin/laravel-api-exceptions

All in one solution for exception for JSON REST APIs on Laravel and Lumen.

107,384 40

Version History

Version Released Laravel License
1.0.2 ^6.0 MIT
1.0.1 >=5.0 MIT
1.0 ~5.0 MIT