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

ActiveLibrary[API Development](/categories/api)

fungku/laravel-hubspot
======================

PHP HubSpot API wrapper for Laravel 4

v1.1.1(11y ago)926.1k4Apache-2.0PHP

Since Jun 18Pushed 9y ago3 watchersCompare

[ Source](https://github.com/ryanwinchester/laravel-hubspot-api)[ Packagist](https://packagist.org/packages/fungku/laravel-hubspot)[ RSS](/packages/fungku-laravel-hubspot/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (12)Used By (0)

Easy to use HubSpot API in Laravel 4
====================================

[](#easy-to-use-hubspot-api-in-laravel-4)

[![Latest Stable Version](https://camo.githubusercontent.com/b0120563f909a79efcc0325566a68e840bd53954595bd4ae70b4bf19c5339e84/68747470733a2f2f706f7365722e707567782e6f72672f66756e676b752f6c61726176656c2d68756273706f742f762f737461626c652e737667)](https://packagist.org/packages/fungku/laravel-hubspot) [![Total Downloads](https://camo.githubusercontent.com/47ce3f6d1003b665b34793aface7cd9135652d1ae0946991fc3bec6c568ef4b9/68747470733a2f2f706f7365722e707567782e6f72672f66756e676b752f6c61726176656c2d68756273706f742f646f776e6c6f6164732e737667)](https://packagist.org/packages/fungku/laravel-hubspot) [![Latest Unstable Version](https://camo.githubusercontent.com/5186afc07534f6669912afac47008a4f801b74594b6a8d5a3be78ebe2b4157bd/68747470733a2f2f706f7365722e707567782e6f72672f66756e676b752f6c61726176656c2d68756273706f742f762f756e737461626c652e737667)](https://packagist.org/packages/fungku/laravel-hubspot)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/6733927943afa38459cbf0a196a3189bb8288b58031f4362f45158dae8ef9d3d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f66756e676b752f6c61726176656c2d68756273706f742d6170692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/fungku/laravel-hubspot-api/?branch=master)[![License](https://camo.githubusercontent.com/2c0c4372a22b5055a8ef2624a048b6efaeb3a1db6ba316f3feb9ab93de4fde30/68747470733a2f2f706f7365722e707567782e6f72672f66756e676b752f6c61726176656c2d68756273706f742f6c6963656e73652e737667)](https://packagist.org/packages/fungku/laravel-hubspot)

PHP HubSpot API package for [Laravel 4](http://laravel.com/)

Most of the hard-working code is modified classes from [HubSpot/haPiHP](https://github.com/HubSpot/haPiHP).

Setup
-----

[](#setup)

In composer.json:

```
"require": {
	"fungku/laravel-hubspot": "1.1.*"
}

```

then run `composer install` or `composer update`

Open `app/config/app.php` and add this to the providers array:

```
'Fungku\HubSpot\HubSpotServiceProvider',

```

TO SET YOUR API KEY:

Run the following command: `$ php artisan config:publish fungku/laravel-hubspot`

This will generate a config file to: `app/config/packages/fungku/laravel-hubspot/api.php`

You can then update this file with your api key from HubSpot and set the user agent.

You could also [set an environment variable](http://laravel.com/docs/configuration#protecting-sensitive-configuration) called, `HUBSPOT_APIKEY`

Examples
--------

[](#examples)

### Contacts:

[](#contacts)

```
$contacts = HubSpot::contacts();

// Get 100 contacts
$contacts->get_all_contacts(array('count'=>100));

// Get a contact by email address
$contacts->get_contact_by_email('example@somedomain.com');
```

### Lists

[](#lists)

```
$lists = HubSpot::lists();

// Get 20 lists
$lists->get_lists(array('count'=>20));
```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 96.2% 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 ~2 days

Total

10

Last Release

4332d ago

Major Versions

v0.9.2 → v1.0.12014-06-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/f839bc1a48d9699534fdfd618ad477afe371e9ce70c76885a5cb851895ab7289?d=identicon)[ryanwinchester](/maintainers/ryanwinchester)

---

Top Contributors

[![ryanwinchester](https://avatars.githubusercontent.com/u/2897340?v=4)](https://github.com/ryanwinchester "ryanwinchester (25 commits)")[![jlabresh1](https://avatars.githubusercontent.com/u/476751?v=4)](https://github.com/jlabresh1 "jlabresh1 (1 commits)")

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

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

A PHP wrapper for Twilio's API

1.6k92.9M272](/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.1M454](/packages/google-gax)

PHPackages © 2026

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