GitHub Repository
Source, issues, and releases for the Relaybase PHP SDK.
Requirements
- PHP >= 8.1
- cURL extension enabled
Installation
Authentication
Get your API key from the Relaybase dashboard and pass it to the constructor:Usage
Vanilla PHP
Laravel
Verification modes
See Validation Results for how these map to the API’s
mode field.
Response fields
verifySingle() returns a result object with:
Error handling
Errors from the API are thrown asRelaybaseAPIError: