felixms / arma-rcon-class-php

A lightweight client for sending commands easily to a BattlEye server.
MIT License
46 stars 22 forks source link

php-library #50

Open EliHagage opened 2 years ago

EliHagage commented 2 years ago

where can i find the php-library for that PHP any one please help me

nerdalertdk commented 2 years ago

Hi

Not quite sure what you a talking about ? the readme is pretty straight forward

Installation

Via Composer (recommended)

If you haven't already, download Composer.

$ curl -s http://getcomposer.org/installer | php

Now require and install ARC.

$ composer require nizarii/arma-rcon-class
$ composer install

Without Composer

Choose a release and include ARC in your project: require_once 'arc.php';.

Examples

Getting started

After installing ARC, you can easily use ARC as shown below. It will automatically establish a new connection and authenticate.

use \Nizarii\ARC;

$rcon = new ARC(string $ServerIP, string $RConPassword [, int $Port = 2302 [, array $Options = array()]]);