定制 vinbolt/sdk 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

vinbolt/sdk

最新稳定版本:v0.2.1

Composer 安装命令:

composer require vinbolt/sdk

包简介

Official PHP SDK for the VINbolt headless API

README 文档

README

Official PHP SDK for the VINbolt headless API.

Install

composer require vinbolt/sdk

Quick start

use Vinbolt\Sdk\VinboltClient;

$client = new VinboltClient('pk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');

$home    = $client->pages->get('home');
$header  = $client->site->header();
$brand   = $client->brand->get();
$cars    = $client->vehicles->list(['make' => 'Honda']);

$client->leads->create([
    'email'        => 'shopper@example.com',
    'name'         => 'Jane Doe',
    'vehicle_vin'  => '1HGCM82633A123456',
    'message'      => 'Interested in a test drive',
]);

Resources

Resource Methods
$client->pages list(), get(string $slug)
$client->site header(), footer(), menu(string), menus()
$client->brand get()
$client->team list()
$client->media get(string $ulid)
$client->leads create(array $input)
$client->vehicles list(array $query), featured(), get(string $ulid)

Errors

All exceptions extend Vinbolt\Sdk\VinboltException:

  • AuthenticationException (401)
  • NotFoundException (404)
  • ValidationException (422) — exposes ->errors keyed by field
  • RateLimitException (429) — exposes ->retryAfter

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固