Skip to content
HubSpot Developer Changelog

HubSpot-PHP client library v2 is now available and Two new Node.js example apps

HubSpot-PHP client library v2 is now available

What’s happening?

HubSpot recently published a new major version of the hubspot-php API client. This includes many enhancements and fixes:

  • Using PHP 7.0
  • Adding support for the CRM Properties API
  • Adding support for the Line Items API
  • Adding support for the Single Send API
  • Upgrading support for the Ecommerce Bridge API from v1 to v2
  • Upgrading support for the HubDB API from v1 to v2
  • Upgrading support for the Workflows API from v2 to v3
  • Upgrading support for the form submission API from v2 to v3
  • Refactor the Email Subscription method to align 1:1 with the API
  • Removed methods using deprecated APIs
  • Fixed support for the Timeline API 
  • Fixed tests for the library, reducing the number of failing tests by half

Why is this happening?

Client libraries are essential to providing an excellent developer experience today.  Almost since the launch of HubSpot’s APIs, the developer community has created and maintained libraries. 

At the request of the previous maintainer, the GitHub repository for the HubSpot-PHP client library lives under the organization. However, we believe this is a community project. While we are always here to lend HubSpot expertise, we strongly encourage community contributions to this and other projects.

Keep an eye out for an overview of how HubSpot would like to work with the developer community. For now, the important takeaway is that we want to enable and empower you with tools and resources. We view this release as a step in that direction.

When is this happening?

Version 2 of the HubSpot-PHP API client is now available. 

Let us know what you think by joining the discussion on the community

Two new Node.js example apps

What’s happening

HubSpot has released two new example applications in Node.js. These example apps demonstrate how to work with file uploads and submissions using our APIs.  

  • Node.js File Upload Sample - a self contained app that demonstrates how to use the file upload functionality from the most popular Node.js client library.
  • Node.js Form File Submission Sample - a self contained app, demonstrating how to generate publicly accessible file urls for files submitted from form submission.

Why is this happening?

In short, we are creating examples so you don’t have to start from scratch. This example is meant to be the building blocks for an app.  Now you can spend time creating value instead of reinventing the wheel. These sample apps showcase best practices for integrating with the HubSpot platform

When is this happening?

This sample is live and ready to use

Join the discussion in the community and let us know what you want to see next.