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

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

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

ausloans/laravel-hubspot

最新稳定版本:v1.1.2

Composer 安装命令:

composer require ausloans/laravel-hubspot

包简介

PHP HubSpot API wrapper for Laravel 5.5+.

README 文档

README

HubSpot API package for Laravel 5.5+

This is a modified version of Fungku\HubSpot(https://packagist.org/packages/fungku/hubspot-php) to support Laravel version 5.5+. Most of the hard-working code is modified classes from HubSpot/haPiHP.

Setup

1.) install via composer

composer require ausloans/laravel-hubspot

2.) then run

php artisan vendor:publish --provider="Fungku\HubSpot\HubSpotServiceProvider"

3.) Open app/config/app.php and add this to the providers array:

Fungku\HubSpot\HubSpotServiceProvider::class,

and on the Class Aliases add this

'HubSpot' => Fungku\HubSpot\Facades\HubSpot::class,   

TO SET YOUR API KEY: Open your environment variables file(.env) and add this

HUBSPOT_KEY=YOUR_API_KEY_HERE
HUBSPOT_USER_AGENT=USER_AGENT_HERE

Examples

Contacts:

$contacts = HubSpot::contacts();

// Get 100 contacts
$contacts->get_all_contacts(array('count'=>100));

// Get a contact by email address
$contacts->get_contact_by_email('example@somedomain.com');

Lists

$lists = HubSpot::lists();

// Get 20 lists
$lists->get_lists(array('count'=>20));

统计信息

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

GitHub 信息

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

其他信息

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