creode/laravel-hubspot-forms
最新稳定版本:2.2.0
Composer 安装命令:
composer require creode/laravel-hubspot-forms
包简介
This package allows you to embed Hubspot forms in your laravel application using a Blade Component.
关键字:
README 文档
README
A Laravel package that allows you to embed a HubSpot form into your Laravel application using a Blade component
Installation
composer require creode/laravel-hubspot-forms
Then, add the following script tag to your layout file. This is required for the HubSpot form to be rendered.
<script charset="utf-8" type="text/javascript" src="//js-eu1.hsforms.net/forms/embed/v2.js"></script>
Usage
Blade component:
<x-hubspot-form form-id="your-hubspot-form-id-here" portal-id="your-hubspot-form-id-here" />
The Region can be updated by passing a region parameter to the component. The default is eu1.
<x-hubspot-form form-id="your-hubspot-form-id-here" portal-id="your-hubspot-form-id-here" region="eu1" />
统计信息
- 总下载量: 90
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-09