Base PHP client for all YEB API SDKs. This package provides the shared HTTP layer, configuration, and error handling used by individual API packages.
composer require yebto/api-clientYou typically don't install this package directly. It's automatically included as a dependency of individual API packages like
yebto/currency-api,yebto/text-api, etc.
| Package | Description |
|---|---|
| yebto/currency-api | Exchange rates, conversion, platform fees |
| yebto/text-api | Translate, rephrase, correct, summarize |
| yebto/short-links-api | URL shortening and analytics |
| yebto/qrcode-api | QR code generation and experiences |
| yebto/screenshot-api | Website screenshots, PDF, video capture |
| yebto/watermark-api | Image, PDF, video watermarking |
| yebto/bot-detect-api | Bot and crawler detection |
| yebto/mail-checker-api | Email validation |
| yebto/device-analyzer-api | User-agent device detection |
| yebto/domain-api | Domain analysis and niche detection |
| yebto/vat-api | VAT calculation |
| yebto/pdf-builder-api | PDF generation from prompt or image |
| yebto/invoicing-api | Invoice, receipt, proforma generation |
| yebto/place-api | Location search by name or coordinates |
| yebto/html-generator-api | HTML block and document generation |
| yebto/article-generator-api | AI article generation |
| yebto/horoscope-api | Daily, weekly, monthly horoscopes |
| yebto/numerology-api | Numerology readings and predictions |
| yebto/astrology-api | Natal charts, transits, synastry |
All API packages throw typed exceptions:
use Yebto\ApiClient\Exceptions\ApiException;
use Yebto\ApiClient\Exceptions\AuthenticationException;
use Yebto\ApiClient\Exceptions\RateLimitException;
try {
$result = $api->someMethod();
} catch (AuthenticationException $e) {
// Missing or invalid API key (401)
} catch (RateLimitException $e) {
// Too many requests (429)
} catch (ApiException $e) {
$e->getMessage(); // Error message
$e->getHttpCode(); // HTTP status code
$e->getResponseBody(); // Full response array
}Register at yeb.to with Google OAuth to get a free API key with 1000+ requests included.
- API Directory: yeb.to/api
- Email: support@yeb.to
- Issues: GitHub Issues
MIT - NETOX Ltd.