larva/forge-sdk

The official Larva Forge PHP SDK.

dev-master / 1.x-dev 2023-11-06 05:37 UTC

This package is auto-updated.

Last update: 2024-12-06 07:50:45 UTC


README

Build Status Total Downloads Latest Stable Version License

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.