PHPackages                             nexuslifeline/hubspot - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. nexuslifeline/hubspot

ActiveLibrary[API Development](/categories/api)

nexuslifeline/hubspot
=====================

HubSpot PHP API client (wrapper for haPiHP)

v1.0.6(6y ago)081Apache-2.0PHPPHP &gt;=5.3.0

Since Jun 17Pushed 6y agoCompare

[ Source](https://github.com/nexuslifeline/hubspot)[ Packagist](https://packagist.org/packages/nexuslifeline/hubspot)[ RSS](/packages/nexuslifeline-hubspot/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (9)Used By (1)

HubSpot PHP API client
======================

[](#hubspot-php-api-client)

haPiHP wrapper
--------------

[](#hapihp-wrapper)

[![Latest Stable Version](https://camo.githubusercontent.com/d7ccc9af4e538050a152aad53b2bb423bce752ecd35bea874f275567832a5aea/68747470733a2f2f706f7365722e707567782e6f72672f66756e676b752f68756273706f742f762f737461626c652e737667)](https://packagist.org/packages/fungku/hubspot) [![Total Downloads](https://camo.githubusercontent.com/74c634321d89292116968d70d27da413650c4f15326cc25d500dc8b344219355/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f66756e676b752f68756273706f742e737667)](https://packagist.org/packages/fungku/hubspot) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/df1fded90f482155a78841a7201ed98d0719ffd47f5295815ca101d0f6d5d486/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f66756e676b752f68756273706f742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/fungku/hubspot/?branch=master) [![License](https://camo.githubusercontent.com/b31ed28059923a0576b1830f4c0e614a7a03f20de2aa756c7a8ff91b5bd39bcc/68747470733a2f2f706f7365722e707567782e6f72672f66756e676b752f68756273706f742f6c6963656e73652e737667)](https://packagist.org/packages/fungku/hubspot)

If you want to use the new COS or v2 endpoints, I am writing a completely new api client:

Setup
-----

[](#setup)

In composer.json:

```
"require": {
	"fungku/hubspot": "1.0.*"
}

```

then run `composer install` or `composer update`

Example
-------

[](#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

[](#hapihp)

#### Overview

[](#overview)

A PHP client for HubSpot's APIs. Docs for this client: .

General API reference documentation: .

### Contributors

[](#contributors)

- [adrianmott](https://github.com/adrianmott) (Adrian Mott)
- [chrishoult](https://github.com/chrishoult) (Christopher Hoult)
- [TheRealBenSmith](https://github.com/TheRealBenSmith) (Ben Smith)
- [ajorgensen](https://github.com/ajorgensen) (Andrew Jorgensen)
- [jprado](https://github.com/jprado)
- [thinkclay](https://github.com/thinkclay) (Clayton McIlrath)
- \[adamgoose\] () (Adam Engebretson)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~305 days

Recently: every ~454 days

Total

7

Last Release

2511d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/06d09fdd4e28c66edf82b95516489f29daa9085ccf1b5689ea843a28b1b35fc0?d=identicon)[nexuslifeline](/maintainers/nexuslifeline)

---

Top Contributors

[![TheRealBenSmith](https://avatars.githubusercontent.com/u/688386?v=4)](https://github.com/TheRealBenSmith "TheRealBenSmith (25 commits)")[![ryanwinchester](https://avatars.githubusercontent.com/u/2897340?v=4)](https://github.com/ryanwinchester "ryanwinchester (21 commits)")[![adrianmott](https://avatars.githubusercontent.com/u/877811?v=4)](https://github.com/adrianmott "adrianmott (8 commits)")[![zackbloom](https://avatars.githubusercontent.com/u/55347?v=4)](https://github.com/zackbloom "zackbloom (7 commits)")[![adamgoose](https://avatars.githubusercontent.com/u/611068?v=4)](https://github.com/adamgoose "adamgoose (5 commits)")[![thinkclay](https://avatars.githubusercontent.com/u/209344?v=4)](https://github.com/thinkclay "thinkclay (3 commits)")[![adamschwartz](https://avatars.githubusercontent.com/u/154613?v=4)](https://github.com/adamschwartz "adamschwartz (3 commits)")[![philipdbrown](https://avatars.githubusercontent.com/u/1117499?v=4)](https://github.com/philipdbrown "philipdbrown (2 commits)")[![ajorgensen](https://avatars.githubusercontent.com/u/509779?v=4)](https://github.com/ajorgensen "ajorgensen (2 commits)")[![jlabresh1](https://avatars.githubusercontent.com/u/476751?v=4)](https://github.com/jlabresh1 "jlabresh1 (1 commits)")[![dcancel](https://avatars.githubusercontent.com/u/2036?v=4)](https://github.com/dcancel "dcancel (1 commits)")[![jonathan-s](https://avatars.githubusercontent.com/u/2124818?v=4)](https://github.com/jonathan-s "jonathan-s (1 commits)")[![jprado](https://avatars.githubusercontent.com/u/931139?v=4)](https://github.com/jprado "jprado (1 commits)")[![nexuslifeline](https://avatars.githubusercontent.com/u/16952835?v=4)](https://github.com/nexuslifeline "nexuslifeline (1 commits)")

### Embed Badge

![Health badge](/badges/nexuslifeline-hubspot/health.svg)

```
[![Health](https://phpackages.com/badges/nexuslifeline-hubspot/health.svg)](https://phpackages.com/packages/nexuslifeline-hubspot)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M453](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
