larva / librespeed-sdk
The official LibreSpeed PHP SDK.
dev-master / 1.x-dev
2023-05-19 09:27 UTC
Requires
- php: ^7.2|^8.0
- ext-json: *
- guzzlehttp/guzzle: ^6.3.1|^7.0
Requires (Dev)
- mockery/mockery: ^1.3.1
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^8.4|^9.0
This package is auto-updated.
Last update: 2024-12-19 12:45:43 UTC
README
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.