yebto/api-client 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

yebto/api-client

Composer 安装命令:

composer require yebto/api-client

包简介

Base PHP client for YEB APIs. Works standalone or with Laravel.

README 文档

README

Base PHP client for all YEB API SDKs. This package provides the shared HTTP layer, configuration, and error handling used by individual API packages.

Installation

composer require yebto/api-client

You 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.

Available API Packages

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

Error Handling

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
}

Free API Access

Register at yeb.to with Google OAuth to get a free API key with 1000+ requests included.

Support

License

MIT - NETOX Ltd.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 21
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固