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.
- Host: GitHub
- URL: https://github.com/larvatecn/librespeed-sdk
- Owner: larvatecn
- License: mit
- Created: 2023-05-19T09:15:19.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-19T09:27:10.000Z (about 3 years ago)
- Last Synced: 2025-02-05T06:13:20.512Z (over 1 year ago)
- Topics: librespeed, php, speedtest
- Language: PHP
- Homepage: https://www.librespeed.cn
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# LibreSpeed SDK
## 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).