承接 ausloans/hubspot 相关项目开发

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

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

ausloans/hubspot

最新稳定版本:v1.0.13

Composer 安装命令:

composer require ausloans/hubspot

包简介

HubSpot PHP API client (wrapper for haPiHP)

README 文档

README

haPiHP wrapper

Latest Stable Version Total Downloads Scrutinizer Code Quality License

If you want to use the new COS or v2 endpoints, I am writing a completely new api client: https://github.com/fungku/hubspot-php

V2 Create or Update

Some V2 has been backported to work in the existing codebase.

Tested under Laravel 6/7/8 by Ausloan Devs.

29/11/2022

DEPRECATE: ?hapi= Query Params This Lib was updated to take in Private App Keys as the Hubspot API Key has been deprecated from 30/11/2022. From now onwards Authorization Header is used instead of ?hapi=

Setup

Run composer require ausloans/hubspot

Then add the following to config/app.php under 'Providers'

Fungku\HubSpot\HubSpotServiceProvider::class,

Example

$hapikey = "demo";

$hubspot = new Fungku\HubSpot($hapikey);

// get 5 contacts' firstnames, offset by 50
$contacts = $hubspot->contacts()->get_all_contacts(array(
    'count' => 5, // defaults to 20
    'property' => 'firstname', // only get the specified properties
    'vidOffset' => '50' // contact offset used for paging
));

Note: The Hubspot class checks for a HUBSPOT_APIKEY environment variable if you don't include one during instantiation.

haPiHP

Overview

A PHP client for HubSpot's APIs. Docs for this client: https://github.com/HubSpot/haPiHP/wiki/haPiHP.

General API reference documentation: http://developers.hubspot.com/docs.

Contributors

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2019-06-25