Download the PHP package tobischulz/laravel-respawnhost-sdk without Composer

On this page you can find all versions of the php package tobischulz/laravel-respawnhost-sdk. 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 laravel-respawnhost-sdk

Laravel RespawnHost SDK

Tests

Laravel package to integrate with the official RespawnHost API and manage game servers from your application.

Current scope

This repository now contains a stable SDK foundation:

The current implementation was prepared against the public RespawnHost OpenAPI document (version: 1.0.0) and product context from respawnhost.com on February 13, 2026.

Installation

Publish the configuration:

Configuration

Set these environment variables:

Default config file (config/respawnhost-sdk.php):

API Token (Dev and Production)

As of February 13, 2026, the public RespawnHost docs state that API keys are created in the account dashboard:

Directlink to api-key-management Dashboard:

This route currently redirects unauthenticated users to login and is not explicitly documented in the public developer docs, so it may change.

Token for dev environment

  1. Log in to your RespawnHost dashboard.
  2. Open API key management from dashboard settings (or use the direct URL above).
  3. Create a dedicated dev key with only required scopes.
  4. Use it with the dev API base URL:

Token for production environment

  1. Create a separate production key (do not reuse the dev key).
  2. Assign only required production scopes.
  3. Use it with the production API base URL:

Recommended: keep separate keys per app/environment and rotate them regularly.

Usage

Use the facade:

Rent a server (typed wrapper)

You can call server rent directly via facade with typed parameters:

Validation behavior:

Public game catalog (typed models)

The package now supports these public catalog endpoints:

These endpoints are fetched through the SDK without requiring RESPAWNHOST_API_KEY.

Usage:

These methods return immutable DTO-style classes:

Payments and transactions:

For endpoints that are not wrapped yet, use the generic request method:

Error handling:

Development

Roadmap

Detailed endpoint mapping is tracked in docs/API-COVERAGE.md.

License

MIT. See LICENSE.md.


All versions of laravel-respawnhost-sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
illuminate/contracts Version ^11.0||^12.0
illuminate/http Version ^11.0||^12.0
spatie/laravel-package-tools Version ^1.16
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 tobischulz/laravel-respawnhost-sdk contains the following files

Loading the files please wait ...