2017 © Pedro Peláez
 

library laravel-forge-php-sdk

PHP SDK for accessing Laravel Forge API

image

mastashake08/laravel-forge-php-sdk

PHP SDK for accessing Laravel Forge API

  • Thursday, March 2, 2017
  • by mastashake08
  • Repository
  • 2 Watchers
  • 3 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 2 Versions
  • 4 % Grown

The README.md

Laravel Forge PHP SDK

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, (*1)

Get A Key

The first thing you need to do before starting a project is register for an API token at the official website, (*2)

Download Project

composer require mastashake08/laravel-forge-php-sdk

Usage

Follow the conventions in the API documentation , for example to list all servers, (*3)

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 * Certificate * Config * Credential * Daemon * Deployment * Firewall * Git * Job * Mysql * MysqlUser * Recipe * Server * Service * Site * SSH * Wordpress * Worker, (*4)

Contribution

This project is ongoing feel free to submit a pull request and help make this project better!, (*5)

Questions

Email all questions to jyrone.parker@gmail.com, (*6)

The Versions

02/03 2017

dev-master

9999999-dev

PHP SDK for accessing Laravel Forge API

  Sources   Download

MIT

The Requires

 

by Jyrone Parker

02/03 2017

1.0.0

1.0.0.0

PHP SDK for accessing Laravel Forge API

  Sources   Download

MIT

The Requires

 

by Jyrone Parker