bannerify/bannerify to call the Bannerify API from PHP without writing raw HTTP requests.
Install
Install via Composer:Instantiate
You need a project API key before using the SDK. Create one in Dashboard → API Keys and keep it server-side.Response format
To make error handling explicit and prevent forgotten error checks, we return errors as part of the response structure. Every method returns an array with either aresult or an error field, never both and never none.
Checking for errors
To check for errors, use theerror key in the response:
Options
The constructor accepts some options to customize the behavior:API Key
Your project’s API key