An open API service indexing awesome lists of open source software.

https://github.com/larvatecn/librespeed-sdk

The official LibreSpeed PHP SDK.
https://github.com/larvatecn/librespeed-sdk

librespeed php speedtest

Last synced: 12 months ago
JSON representation

The official LibreSpeed PHP SDK.

Awesome Lists containing this project

README

          

# LibreSpeed SDK

Build Status
Total Downloads
Latest Stable Version
License

## Introduction

The [LibreSpeed SDK](https://www.librespeed.cn/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:

```bash
composer require larva/librespeed-sdk
```

### Basic Usage

You can create an instance of the SDK like so:

```php
$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:

```php
$servers = $libreSpeed->servers();
```

## License

Larva Forge SDK is open-sourced software licensed under the [MIT license](LICENSE.md).