vinbolt/sdk

Official PHP SDK for the VINbolt headless API

Maintainers

Package info

github.com/VINbolt/sdk

pkg:composer/vinbolt/sdk

Statistics

Installs: 2

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v0.2.1 2026-05-06 14:53 UTC

This package is auto-updated.

Last update: 2026-05-06 16:34:35 UTC


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