定制 vinbolt/laravel 二次开发

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

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

vinbolt/laravel

最新稳定版本:v0.2.1

Composer 安装命令:

composer require vinbolt/laravel

包简介

Laravel integration for the VINbolt PHP SDK

README 文档

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.

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固