Download the PHP package blockadelabs/sdk without Composer
On this page you can find all versions of the php package blockadelabs/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download blockadelabs/sdk
More information about blockadelabs/sdk
Files in blockadelabs/sdk
Package sdk
Short Description Blockade Labs SDK for Laravel
License MIT
Homepage https://github.com/Blockade-Games/BlockadeLabs-SDK-Laravel
Informations about the package sdk
Blockade Labs SDK for Laravel
Laravel Versions Support
- >= 7.0
Installation
You can install the package via composer:
Getting Started
Before you are able to use the SDK, you need to edit your .env
file and add your Blockade Labs API key:
BLOCKADE_LABS_API_KEY=YOUR_API_KEY
Package will register a Facade that you can use in your app to make API calls, just make sure to include it at the top of the file:
Usage
All the methods and routes are also explained (in greater detail) in the Docs here.
Skyboxes
getSkyboxStyles
generateSkybox
You can refer to the docs here and here for more details on how to generate new skyboxes and how to generate skyboxes that are remixes of previously generated skyboxes.
Imagine Requests
getGenerators
generateImagine
You can refer to the docs here and here on how to get and use generator data when generating imagines.
The generateImagine
method can accept different types of generator data, which may include files.
When sending files it's enough to just pass the file from the request, like so:
getImagineById
getImagineByObfuscatedId
getImagineHistory
cancelImagine
cancelAllPendingImagines
deleteImagine
Changelog
Please see CHANGELOG for more information on what has changed recently.
All versions of sdk with dependencies
illuminate/support Version ^7.0|^8.0|^9.0|^10.0
guzzlehttp/guzzle Version ^6.3.1|^7.0.1