vinbolt/laravel

Laravel integration for the VINbolt PHP SDK

Maintainers

Package info

github.com/VINbolt/laravel

pkg:composer/vinbolt/laravel

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.2.1 2026-05-06 16:35 UTC

This package is auto-updated.

Last update: 2026-05-06 16:37:13 UTC


README

Laravel integration for the VINbolt PHP SDK.

Provides a service provider, facade, and config file so you can call the VINbolt headless API directly from Laravel apps.

Install

composer require vinbolt/laravel

The service provider auto-registers via Laravel's package discovery.

Configure

Set your API key in .env:

VINBOLT_API_KEY=pk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
VINBOLT_BASE_URL=https://vinbolt.com/api/v1

(Optional) publish the config file to customize:

php artisan vendor:publish --tag=vinbolt-config

Usage

Facade

use Vinbolt\Laravel\Facades\Vinbolt;

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

Vinbolt::leads->create([
    'email'       => 'shopper@example.com',
    'name'        => 'Jane Doe',
    'vehicle_vin' => '1HGCM82633A123456',
]);

Dependency injection

use Vinbolt\Sdk\VinboltClient;

class HomeController
{
    public function __construct(private VinboltClient $vinbolt) {}

    public function show()
    {
        return view('home', [
            'page'   => $this->vinbolt->pages->get('home'),
            'header' => $this->vinbolt->site->header(),
        ]);
    }
}

Resources

See the PHP SDK README for the full resource list — this package is a pure Laravel wrapper, all methods come from vinbolt/sdk.