Package Data | |
---|---|
Maintainer Username: | mastashake08 |
Maintainer Contact: | jyrone.parker@gmail.com (Jyrone Parker) |
Package Create Date: | 2017-03-02 |
Package Last Update: | 2023-04-19 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-01-11 15:03:11 |
Package Statistics | |
---|---|
Total Downloads: | 37 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 4 |
Total Watchers: | 3 |
Total Forks: | 3 |
Total Open Issues: | 3 |
An Unofficial PHP SDK for Laravel Forge API Taylor Otwell has graciously given us a REST API for Laravel Forge. This simple PHP SDK is a wrapper around that API to be used in your PHP projects
The first thing you need to do before starting a project is register for an API token at the official website
#Download Project
composer require mastashake08/laravel-forge-php-sdk
#Usage Follow the conventions in the API documentation , for example to list all servers
use Mastashake08\Forge\Server;
use Mastashake08\Forge\Forge;
Forge::setApiKey($apiKey);
$server = (new Server())->all();
echo $server; // shows all servers in JSON Format
##Objects The following objects are available via the SDK
#Contribution This project is ongoing feel free to submit a pull request and help make this project better!
#Questions Email all questions to jyrone.parker@gmail.com