Installation
Requirements
- PHP 8.1 or higher
- Composer
Quick Start
Configuration
Initialize the Client
Environment Variables
We recommend storing your API key in environment variables:Accessing Response Headers
Use->withRawResponse() to access the full HTTP response including headers:
Error Handling
Error Types
| Error Code | Description |
|---|---|
400 | Invalid request parameters |
401 | Invalid or missing API key |
403 | Insufficient permissions |
404 | Resource not found |
429 | Rate limit exceeded |
Retries
The SDK supports automatic retries with configurable backoff:Laravel Integration
For Laravel applications, set your API key in.env:
