larva / forge-sdk
The official Larva Forge PHP SDK.
dev-master / 1.x-dev
2023-11-06 05:37 UTC
Requires
- php: ^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-11-06 07:42:41 UTC
README
Introduction
The Larva Forge 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/forge-sdk
Basic Usage
You can create an instance of the SDK like so:
$forge = new Larva\Forge\Forge(TOKEN_HERE);
Using the Forge
instance you may perform multiple actions as well as retrieve the different resources Forge's API provides:
$servers = $forge->servers();
License
Larva Forge SDK is open-sourced software licensed under the MIT license.