Download the PHP package hugojf/csgo-server-api-laravel without Composer

On this page you can find all versions of the php package hugojf/csgo-server-api-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package csgo-server-api-laravel

CS:GO Server API - Laravel package

Laravel package to interface CS:GO Server API.

Build Status Coverage Status

How it works

This package interfaces my CS:GO API main endpoints:

/send which you can send a command, with a delay to a single server;

/sendAll which you can send a command, with a delay to all servers controlled by the API;

Requirements

Installation

Using Composer, run:

composer require hugojf/csgo-server-api-laravel

Publish config:

php artisan vendor:publish --provider="hugojf\CsgoServerApi\Providers\PackageServiceProvider"

Configuration

Any configuration can be modified inside configs/csgo-api.php

CSGO_API_URL=http://my-csgo-server-api.com/

API server endpoint URL.

CSGO_API_KEY=abcdef123456

API server authentication key.

Usage

Creating a command

Parameters
Examples

Creating a server

Parameters
Examples

Sending a list of commands to a list of servers

Broadcasting a list of commands to all servers controlled by the API

Different ways you can add commands or servers

In an attempt to avoid instantiating every server or command, you can use the following formats:

Servers
Commands

Changing summary class

You can change the way responses are grouped by passing a new Summary class

ByCommandSummary::class

Groups responses by command first and then server after.

ByServerSummary::class

Groups responses by server first and then command after.

Example

All versions of csgo-server-api-laravel with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version ^5.7
ixudra/curl Version 6.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hugojf/csgo-server-api-laravel contains the following files

Loading the files please wait ....