Download the PHP package mpociot/blacksmith without Composer
On this page you can find all versions of the php package mpociot/blacksmith. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mpociot/blacksmith
More information about mpociot/blacksmith
Files in mpociot/blacksmith
Package blacksmith
Short Description The unofficial Laravel Forge API
License MIT
Homepage http://github.com/mpociot/blacksmith
Informations about the package blacksmith
Blacksmith - The unofficial Laravel Forge PHP API
Laravel Forge is awesome, right? Yes it is - but there's one thing it's missing - a proper API.
That's why this library exists - Blacksmith is an unofficial Laravel Forge API to automate common tasks.
The API is still improving and I will keep adding features, as I need them.
Getting Started
Available methods
Get all active servers
Returns a Collection of Server
objects.
Get all sites for all servers
Returns a Collection of Site
objects.
Get a server by its ID
Returns a single Server
object.
Add a server to Forge
Returns a single Server
object with a provision url.
The following example will create a Load Balancer with a custom provider
Get a site by its ID
Returns a single Site
object.
Get all circles
Returns a Collection of Circle
objects of the user.
Get a circle by its ID
Returns a single Circle
object.
Add a new circle
Returns a single Circle
object.
Get all recipes
Returns a Collection of Recipe
objects.
Get a recipe by its ID
Returns a single Recipe
object.
Add a new recipe
Returns a single Recipe
object.
Server methods
Get Sites
Returns a Collection of Site
objects for the server.
Add a new site
Returns a the newly created Site
object or throws an exception if errors occur.
Add a new SSH key
Add a SSH key to a server
Remove a SSH key from a server
Update Metadata
Update the metadata of the current site, and return an updated Server
object or throws an exception if errors occur.
Get Schedules Jobs
Returns a Collection of ScheduledJob
objects for the server.
Add a new scheduled job
Returns a the newly created ScheduledJob
object or throws an exception if errors occur.
toArray
Returns an array containing all available server information.
Site methods
Get Environment
Returns the configured .env file
Install an application
Install and deploy an application to the site.
Deploy an application
Deploys an application on this site.
Get last deployment log
Returns the last deployment log for this site.
toArray
Returns an array containing all available site information.
Circle methods
Invite a member by email
Returns a fresh Circle
object or throws an exception if errors occur.
Set all circle members
If you want to delete a member you update a circle with all member id's.
It return a fresh Circle
object.
Set all circle servers
If you want to add or delete a server from the circle you update a circle with all server id's.
It return a fresh Circle
object.
Recipe methods
Update a Recipe
License
Blacksmith is free software distributed under the terms of the MIT license.
All versions of blacksmith with dependencies
tightenco/collect Version ~5.0
behat/mink-goutte-driver Version ^1.2
behat/mink Version ^1.7
mnapoli/silly Version ^1.5