PHPackages                             laravel-gtm/hubspot-sdk - 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. laravel-gtm/hubspot-sdk

ActiveLibrary

laravel-gtm/hubspot-sdk
=======================

Laravel-ready PHP API SDK boilerplate built with Saloon (template repository).

v0.0.11(3w ago)0136↓50%MITPHPPHP ^8.4CI passing

Since Apr 8Pushed 3w agoCompare

[ Source](https://github.com/laravel-gtm/hubspot-sdk)[ Packagist](https://packagist.org/packages/laravel-gtm/hubspot-sdk)[ RSS](/packages/laravel-gtm-hubspot-sdk/feed)WikiDiscussions main Synced yesterday

READMEChangelog (10)Dependencies (18)Versions (12)Used By (0)

HubSpot SDK
===========

[](#hubspot-sdk)

A Laravel-ready PHP SDK for the HubSpot CRM API, built with [Saloon](https://docs.saloon.dev/) v4. Includes token auth, rate limiting, and typed response DTOs.

Requirements
------------

[](#requirements)

- PHP `^8.4`
- Laravel `^11.0 || ^12.0 || ^13.0` (for the optional Laravel integration)

Supported Endpoints
-------------------

[](#supported-endpoints)

SDK MethodHTTPAPI EndpointSince`getContact()`GET`/crm/v3/objects/contacts/{contactId}`unreleased`listContacts()`GET`/crm/v3/objects/contacts`unreleased`listContactProperties()`GET`/crm/v3/properties/contact`unreleased`getDeal()`GET`/crm/v3/objects/deals/{dealId}`unreleased`listDeals()`GET`/crm/v3/objects/deals`v0.0.1`listDealProperties()`GET`/crm/v3/properties/deal`v0.0.3Installation
------------

[](#installation)

```
composer require laravel-gtm/hubspot-sdk
```

Configuration (Laravel)
-----------------------

[](#configuration-laravel)

Publish the config (before init the tag is `hubspot-sdk-config`; after init it becomes `{your-package-slug}-config`):

```
php artisan vendor:publish --tag=hubspot-sdk-config
```

After running the init script, use your package slug in the tag (e.g. `hubspot-sdk-config`). Env keys use your chosen `ENV_PREFIX` (defaults before init use `HUBSPOT_*`):

- `HUBSPOT_BASE_URL`
- `HUBSPOT_TOKEN`
- `HUBSPOT_AUTH_HEADER`

Usage
-----

[](#usage)

### Via the service container

[](#via-the-service-container)

```
use LaravelGtm\HubspotSdk\HubspotSdk;

$sdk = app(HubspotSdk::class);
```

### Standalone

[](#standalone)

```
use LaravelGtm\HubspotSdk\HubspotSdk;

$sdk = HubspotSdk::make(
    baseUrl: 'claude',
    token: 'your-token',
);
```

Development
-----------

[](#development)

```
composer test        # Pest
composer analyse     # PHPStan
composer lint        # Pint (check)
composer format      # Pint (fix)
```

License
-------

[](#license)

MIT. See [LICENSE](LICENSE).

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance95

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.9% of commits — single point of failure

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 ~1 days

Total

11

Last Release

21d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/72bca4835ee6aab70db2e2dcd049e0c4f4795b6aa7a05890991c3034dd99c256?d=identicon)[DGarbs51](/maintainers/DGarbs51)

![](https://www.gravatar.com/avatar/56dcbcd0139adf900f58bc19509e785e6724dadfbfcc74f9c6769432c31686cf?d=identicon)[devethanm](/maintainers/devethanm)

---

Top Contributors

[![devethanm](https://avatars.githubusercontent.com/u/53354219?v=4)](https://github.com/devethanm "devethanm (13 commits)")[![DGarbs51](https://avatars.githubusercontent.com/u/58236685?v=4)](https://github.com/DGarbs51 "DGarbs51 (1 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/laravel-gtm-hubspot-sdk/health.svg)

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

###  Alternatives

[ntanduy/cloudflare-d1-database

Easy configuration and setup for D1 Database connections in Laravel.

215.4k](/packages/ntanduy-cloudflare-d1-database)

PHPackages © 2026

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