// the find
HubSpot/hubspot-php
HubSpot PHP API Client
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.