承接 inspirapuntodo/hubspot-for-laravel 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

inspirapuntodo/hubspot-for-laravel

最新稳定版本:0.1.1

Composer 安装命令:

composer require inspirapuntodo/hubspot-for-laravel

包简介

Hubspot for Laravel allows you to interact with the official hubspot PHP Api Client

README 文档

README

Total Downloads Latest Version License

Hubspot for Laravel

Hubspot for Laravel is wrapper for the Hubspot CRM API allowing you to access the library in a convenient way through a facade. For a complete list of allowed methods visit the following repository HubSpot/hubspot-php.

Installation

Here's how you track your website with Hubspot for Laravel:

Requires PHP 8.1+

First, install Hubspot for Laravel via the Composer package manager:

composer require inspirapuntodo/hubspot-for-laravel

Next, publish the configuration file:

php artisan vendor:publish --provider="InspiraPuntoDo\Hubspot\ServiceProvider"

This will create a config/hubspot.php configuration file in your project, which you can modify to your needs using environment variables:

HUBSPOT_ACCESS_TOKEN=...
HUBSPOT_USE_OAUTH2=true

Now you will be able to use de Hubspot facade:

use InspiraPuntoDo\Hubspot\Facades\Hubspot;

$contact = Hubspot::contacts()->getByEmail("email@example.com");

echo $contact->properties->email->value;

Usage

For usage examples, take a look at the HubSpot/hubspot-php repository.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Contributors

Cesar Mendez (@Activ3mined)

Hubspot for Laravel is an open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-30