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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

PHP Build Version
Package Version
Requires php Version >=5.5.0
tightenco/collect Version ~5.0
behat/mink-goutte-driver Version ^1.2
behat/mink Version ^1.7
mnapoli/silly Version ^1.5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mpociot/blacksmith contains the following files

Loading the files please wait ....