Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Hubspot Laravel Package

rossjcooper/laravel-hubspot

A Laravel wrapper for the HubSpot API that makes it easy to read, create, update, and delete HubSpot CRM contacts, companies, deals, and other objects from your PHP applications using a clean, expressive, fluent interface.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature delivery on CRM-adjacent roadmap items. This package is the integration layer between a Laravel application and HubSpot (contacts, companies, deals, tickets, custom objects, timeline events). It directly enables features such as lead capture and routing, lifecycle-stage automation, customer-360 views in internal admin tools, marketing attribution, and post-purchase/onboarding sync.
  • Build vs. buy. The v6.0.0 release is a clear signal in favor of buying the integration layer: the package now delegates transport and endpoint coverage to HubSpot's official PHP API client instead of maintaining a bespoke HTTP layer. The recommendation is to buy the wrapper and spend engineering effort on product logic (sync rules, field mapping, deduplication, event semantics) rather than on SDK upkeep.
  • Roadmap sequencing and durability. Because the package now tracks the vendor-supported SDK, future HubSpot API surface (batch APIs, associations, custom objects) is more likely to arrive here than in homegrown code. Plan roadmap items against HubSpot API v3-era capabilities rather than legacy v1/v2 endpoints.
  • Representative use cases to prioritize: inbound form/webhook → contact upsert; deal pipeline mirroring for revenue reporting; bi-directional field sync for CS/Support tooling; event ingestion for lead scoring; back-office tooling that reads CRM state without a separate middleware service.
  • Explicit non-goal. This is not a sync engine. Conflict resolution, retry/backoff orchestration, and high-volume ETL belong to an iPaaS/warehouse tool, not to a Laravel wrapper.

When to Consider This Package

Adopt when:

  • The application is Laravel/PHP and needs authenticated read/write access to HubSpot entities from application code, jobs, or Artisan commands.
  • You want Laravel-native ergonomics — service container bindings, configuration-driven credentials, facades/DI, and testability with fakes or HTTP mocking — instead of raw Guzzle calls against HubSpot.
  • You need enough endpoint coverage that hand-rolling each call is net-negative (typically three or more entity types, or any custom-object work).
  • You are willing to track the official HubSpot PHP SDK's release cadence and pin versions deliberately.
  • You need a maintained migration path to the modern SDK rather than inheriting a stale, legacy-client integration.

Look elsewhere when:

  • You only touch one or two endpoints; call the official SDK directly and avoid the extra abstraction surface.
  • You require guaranteed response times, contractual support, or SLAs — a community wrapper is not a support contract.
  • Your problem is actually synchronization (bidirectional, conflict-resolving, high-volume) — that is ETL/iPaaS territory (Segment, Hightouch, Fivetran) or a purpose-built sync service.
  • You need HubSpot UI extensions, CMS, or app-card functionality — that is HubSpot's app platform, not a PHP library.
  • The stack is not Laravel, or you need clients in multiple languages against the same CRM.
  • You cannot absorb the v6.0.0 breaking change — e.g., a freeze on the legacy client, heavy reliance on removed/renamed methods, or a legacy auth model that must be reworked to OAuth before upgrading.

Adoption preconditions to verify before committing: current maintenance activity and release cadence, documented migration guide for the v5 → v6 jump, test coverage for the endpoints you actually use, and clarity on which HubSpot auth model (private-app token vs. OAuth) the package expects.

How to Pitch It (Stakeholders)

For executives: This is a small, focused dependency that lets us ship CRM-connected features — lead sync, pipeline visibility, customer-360 views — without building and maintaining our own HubSpot client. The new 6.0.0 release moves us onto HubSpot's officially supported PHP SDK, which lowers long-term maintenance risk and keeps us aligned with the vendor's API direction. The trade-off is a one-time migration cost: 6.0.0 is explicitly not backward compatible, so any existing use requires a planned upgrade rather than a drop-in bump. Net position: strategically favorable, with a scoped migration ticket and a version pin to control timing.

For engineering: Treat 6.0.0 as a breaking change, not a patch. The underlying client has been swapped for HubSpot's official PHP library, so method signatures, response objects, pagination, error/exception types, and likely the auth/token flow will differ. Recommended path: (1) pin to the current major until a migration window is agreed; (2) inventory every call site and map old → new client usage; (3) re-verify authentication and token refresh against a sandbox HubSpot portal; (4) rework pagination and error handling, and update fakes/mocks in tests; (5) run integration tests against a non-production portal before rollout; (6) confirm the package's documented migration notes exist before starting, and reassess if the upgrade appears to require rewriting call sites wholesale.

Key risks to track: community-package maintenance risk (bus factor, release cadence), HubSpot API versioning churn inherited from the vendor SDK, and the migration surface created by this major bump. Mitigation: pin the dependency, isolate HubSpot access behind our own thin service/adapter interface, and keep integration tests green against a sandbox portal.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib