finds.dev

HubSpot/hubspot-php

HubSpot PHP API Client

View on GitHub

★ 368PHPNOASSERTIONupdated Jun 2025

// the take

A PHP wrapper for HubSpot's legacy API, originally community-built by SevenShores and later adopted by HubSpot. The README opens with a deprecation notice pointing you to the official hubspot-api-php client instead, which tells you most of what you need to know about its current standing.

The Guzzle middleware for rate limiting and 429 retry handling is genuinely useful and saves you from having to roll your own backoff logic. The dual access pattern — array access and object access on responses — is a small but practical convenience. Integration test coverage is thorough for a client library, with real API tests for most endpoints. The factory pattern keeps instantiation simple and the OAuth2 helper avoids some auth boilerplate.

The library wraps the legacy HubSpot API, which HubSpot deprecated in November 2022 when they killed API key auth. If you're starting fresh, there's no good reason to use this over the official hubspot-api-php SDK. A non-trivial chunk of the endpoint checklist is still unimplemented — no Marketing Email, no CMS Templates, no Domains, no Tracking Code. The Travis CI badge links to a dead integration and tests are unlikely to be runnable without a live HubSpot account. Adopting this means you're betting on a legacy surface that HubSpot actively wants you to migrate away from.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
368
Forks
192
Language
PHP
License
NOASSERTION
Last commit
26 Jun 2025

// nearby

If hubspot-php isn't quite it.

All repos →