larva/librespeed-sdk

The official LibreSpeed PHP SDK.

dev-master / 1.x-dev 2023-05-19 09:27 UTC

This package is auto-updated.

Last update: 2024-12-19 12:45:43 UTC


README

Build Status Total Downloads Latest Stable Version License

Introduction

The LibreSpeed SDK SDK provides an expressive interface for interacting with Forge's API and managing Laravel Forge servers.

Official Documentation

Installation

To install the SDK in your project you need to require the package via composer:

composer require larva/librespeed-sdk

Basic Usage

You can create an instance of the SDK like so:

$libreSpeed = new LibreSpeed\LibreSpeed(TOKEN_HERE);

Using the LibreSpeed instance you may perform multiple actions as well as retrieve the different resources LibreSpeed's API provides:

$servers = $libreSpeed->servers();

License

Larva Forge SDK is open-sourced software licensed under the MIT license.