Download the PHP package davidmaksimov/forge-facade without Composer
On this page you can find all versions of the php package davidmaksimov/forge-facade. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download davidmaksimov/forge-facade
More information about davidmaksimov/forge-facade
Files in davidmaksimov/forge-facade
Package forge-facade
Short Description A Laravel facade wrapper for Laravel Forge SDK (themsaid/forge-sdk)
License MIT
Informations about the package forge-facade
Laravel Forge Facade
This package provides a facade around the Laravel Forge SDK provided by themsaid/forge-sdk
.
Use Case
This package is meant for cases where you're only concerned with a single server on your Laravel Forge account.
Installation
Install the package:
Update your .env
configuration
App Configuration
If you're not using auto-discovery, add the service provider and facade in your config/app.php
file.
Usage
Now you can use the facade to call methods that require a server id without it. When calling methods that require arguments
SDK
The following is taken from the readme at themsaid/forge-sdk
. The SDK is completely the same except that you omit the $serverId
for any methods that require it since that's inserted for you automatically.
Managing Servers
On a Server instance you may also call:
Server SSH Keys
On a SSHKey Instance you may also call:
Server Scheduled Jobs
On a Job Instance you may also call:
Managing Services
Server Daemons
On a Daemon Instance you may also call:
Server Firewall Rules
On a FirewallRule Instance you may also call:
Managing Sites
On a Site Instance you may also call:
Site Workers
On a Worker Instance you may also call:
Site SSL Certificates
On a Certificate Instance you may also call:
Managing MySQL
On a MysqlDatabase Instance you may also call:
On a MysqlUser Instance you may also call:
Managing Recipes
On a Recipe Instance you may also call: