PHPackages                             itinerisltd/wp-hubspot-importer - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. itinerisltd/wp-hubspot-importer

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

itinerisltd/wp-hubspot-importer
===============================

Import HubSpot blog posts into WordPress.

0.4.1(6y ago)13.8k[4 issues](https://github.com/ItinerisLtd/wp-hubspot-importer/issues)[6 PRs](https://github.com/ItinerisLtd/wp-hubspot-importer/pulls)MITPHPPHP ^7.2

Since Apr 23Pushed 5y ago10 watchersCompare

[ Source](https://github.com/ItinerisLtd/wp-hubspot-importer)[ Packagist](https://packagist.org/packages/itinerisltd/wp-hubspot-importer)[ Docs](https://github.com/itinerisltd/wp-hubspot-importer)[ RSS](/packages/itinerisltd-wp-hubspot-importer/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (9)Versions (17)Used By (0)

WP HubSpot Importer
===================

[](#wp-hubspot-importer)

[![CircleCI](https://camo.githubusercontent.com/223d07f07caa880ed859269a82eee973ab3181533fc430ad73b2acb1d4afb0f7/68747470733a2f2f636972636c6563692e636f6d2f67682f4974696e657269734c74642f77702d68756273706f742d696d706f727465722e7376673f7374796c653d737667)](https://circleci.com/gh/ItinerisLtd/wp-hubspot-importer)[![Packagist Version](https://camo.githubusercontent.com/80519cf41b87ba8118f8820ca2fd19bb1d6185c5c0e0d86237bcf37cb724c1e4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6974696e657269736c74642f77702d68756273706f742d696d706f727465722e737667)](https://packagist.org/packages/itinerisltd/wp-hubspot-importer)[![PHP from Packagist](https://camo.githubusercontent.com/17ef34678ed58972317e285fbd212ee68f45308f0756c52ff02d0c966a370bb2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6974696e657269736c74642f77702d68756273706f742d696d706f727465722e737667)](https://packagist.org/packages/itinerisltd/wp-hubspot-importer)[![Packagist Downloads](https://camo.githubusercontent.com/b8ca0f201162114882ccc4fcd6e688f341dde93de4901666fc992ec5152abda8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6974696e657269736c74642f77702d68756273706f742d696d706f727465722e737667)](https://packagist.org/packages/itinerisltd/wp-hubspot-importer)[![GitHub License](https://camo.githubusercontent.com/c8360cf8a30ae98b4c7cefeddd90b32a4873616f6117f6f8c73e39f01be763d4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6974696e657269736c74642f77702d68756273706f742d696d706f727465722e737667)](https://github.com/ItinerisLtd/wp-hubspot-importer/blob/master/LICENSE)[![Hire Itineris](https://camo.githubusercontent.com/28070f6fe57ce0e650e45ceddf0f294c6ebb8e5248af50e801ed5d81026c076c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f486972652d4974696e657269732d6666363962342e737667)](https://www.itineris.co.uk/contact/)

- [Goal](#goal)
- [Minimum Requirements](#minimum-requirements)
- [Installation](#installation)
    - [Composer (Recommended)](#composer-recommended)
    - [Classic](#classic)
- [Usage](#usage)
    - [OAuth2 Authorization](#oauth2-authorization)
    - [Importing from HubSpot to WordPress](#importing-from-hubspot-to-wordpress)
- [Data Structure](#data-structure)
    - [HubSpot Blog Post ID](#hubspot-blog-post-id)
    - [Featured Image URL](#featured-image-url)
- [FAQ](#faq)
    - [Will you add support for older PHP versions?](#will-you-add-support-for-older-php-versions)
    - [It looks awesome. Where can I find some more goodies like this?](#it-looks-awesome-where-can-i-find-some-more-goodies-like-this)
    - [Besides wp.org, where can I give a ⭐⭐⭐⭐⭐ review?](#besides-wporg-where-can-i-give-a-starstarstarstarstar-review)
- [Testing](#testing)
- [Feedback](#feedback)
- [Change Log](#change-log)
- [Security](#security)
- [Credits](#credits)
- [License](#license)

Goal
----

[](#goal)

Import HubSpot blog posts into WordPress.

Minimum Requirements
--------------------

[](#minimum-requirements)

- PHP v7.3
- WordPress v5.1

Installation
------------

[](#installation)

### Composer (Recommended)

[](#composer-recommended)

```
$ composer require itinerisltd/wp-hubspot-importer
```

### Classic

[](#classic)

Download `wp-hubspot-importer.zip` from [GitHub releases](https://github.com/itinerisltd/wp-hubspot-importer/releases)Then, [install as usual](https://codex.wordpress.org/Managing_Plugins#Installing_Plugins)

Usage
-----

[](#usage)

### OAuth2 Authorization

[](#oauth2-authorization)

1. Head to WP Dashboard &gt; Tools &gt; WP HubSpot Importer
2. Authenticate `WP HubSpot Importer` to use HubSpot API on your behalf

### Importing from HubSpot to WordPress

[](#importing-from-hubspot-to-wordpress)

```
$ wp hubspot import
Importing from HubSpot...
Fetching HubSpot blog topics...
Success: Fetched Blog Topic: Blog (1111111111)
Success: Fetched Blog Topic: News (2222222222)
Fetching HubSpot blog posts updated since Tue, 23 Apr 2019 12:19:15 +0000...
Success: Imported Blog Post: I am the blog post title (3333333333)
Success: Imported Blog Post: Hello World (4444444444)
Success: Finished at Tue, 23 Apr 2019 12:20:38 +0000
```

Data Structure
--------------

[](#data-structure)

By default, [WP HubSpot Importer](https://github.com/ItinerisLtd/wp-hubspot-importer) imports:

- [HubSpot blog posts](https://developers.hubspot.com/docs/methods/blogv2/get_blog_posts) as [`post`](https://codex.wordpress.org/Post_Types#Post)
- [HubSpot blog topics](https://developers.hubspot.com/docs/methods/blog/v3/list-blog-topics) as [`post_tag`](https://codex.wordpress.org/Taxonomies#Tag)

See: [`BlogPostRepo::upsert`](./src/BlogPostRepo.php)

These can be customized by defining your own container via the [`wp_hubspot_importer_container_init`](./src/Container.php) filter.

### HubSpot Blog Post ID

[](#hubspot-blog-post-id)

```
$wpPostId = 999;

// Returns '1234567890'
get_post_meta($wpPostId, Container::HUBSPOT_BLOG_POST_ID_META_KEY, true);
```

### Featured Image URL

[](#featured-image-url)

Featured images are not imported to WordPress media library, but the URLs are stored as custom post meta.

```
$wpPostId = 999;

// Returns 'https://cdn2.hubspot.net/hubfs/1234566/xxx.jpeg'
get_post_meta($wpPostId, Container::HUBSPOT_FEATURED_IMAGE_URL_META_KEY, true);
```

FAQ
---

[](#faq)

### Will you add support for older PHP versions?

[](#will-you-add-support-for-older-php-versions)

Never! This plugin will only works on [actively supported PHP versions](https://secure.php.net/supported-versions.php).

Don't use it on **end of life** or **security fixes only** PHP versions.

### It looks awesome. Where can I find some more goodies like this?

[](#it-looks-awesome-where-can-i-find-some-more-goodies-like-this)

- Articles on [Itineris' blog](https://www.itineris.co.uk/blog/)
- More projects on [Itineris' GitHub profile](https://github.com/itinerisltd)
- More plugins on [Itineris](https://profiles.wordpress.org/itinerisltd/#content-plugins) and [TangRufus](https://profiles.wordpress.org/tangrufus/#content-plugins) wp.org profiles
- Follow [@itineris\_ltd](https://twitter.com/itineris_ltd) and [@TangRufus](https://twitter.com/tangrufus) on Twitter
- Hire [Itineris](https://www.itineris.co.uk/services/) to build your next awesome site

### Besides wp.org, where can I give a ⭐⭐⭐⭐⭐ review?

[](#besides-wporg-where-can-i-give-a-starstarstarstarstar-review)

Thanks! Glad you like it. It's important to let my boss knows somebody is using this project. Please consider:

- give ⭐⭐⭐⭐⭐ reviews on [wp.org](https://wordpress.org/support/plugin/wp-hubspot-importer/reviews/#new-post)
- tweet something good with mentioning [@itineris\_ltd](https://twitter.com/itineris_ltd) and [@TangRufus](https://twitter.com/tangrufus)
- ️️:star: star this [Github repo](https://github.com/ItinerisLtd/wp-hubspot-importer)
- watch this [Github repo](https://github.com/ItinerisLtd/wp-hubspot-importer)
- write blog posts
- submit [pull requests](https://github.com/ItinerisLtd/wp-hubspot-importer)
- [hire Itineris](https://www.itineris.co.uk/services/)

Testing
-------

[](#testing)

```
$ composer phpstan:analyse
$ composer style:check
```

Pull requests without tests will not be accepted!

Feedback
--------

[](#feedback)

**Please provide feedback!** We want to make this library useful in as many projects as possible. Please submit an [issue](https://github.com/ItinerisLtd/wp-hubspot-importer/issues/new) and point out what you do and don't like, or fork the project and make suggestions. **No issue is too small.**

Change Log
----------

[](#change-log)

Please see [CHANGELOG](./CHANGELOG.md) for more information on what has changed recently.

Security
--------

[](#security)

If you discover any security related issues, please email [hello@itineris.co.uk](hello@itineris.co.uk) instead of using the issue tracker.

Credits
-------

[](#credits)

[WP HubSpot Importer](https://github.com/ItinerisLtd/wp-hubspot-importer) is a [Itineris Limited](https://www.itineris.co.uk/) project created by [Tang Rufus](https://typist.tech).

Full list of contributors can be found [here](https://github.com/ItinerisLtd/wp-hubspot-importer/graphs/contributors).

License
-------

[](#license)

[WP HubSpot Importer](https://github.com/ItinerisLtd/wp-hubspot-importer) is released under the [MIT License](https://opensource.org/licenses/MIT).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57% 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 ~9 days

Total

10

Last Release

2493d ago

### Community

Maintainers

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

---

Top Contributors

[![tangrufus](https://avatars.githubusercontent.com/u/2259834?v=4)](https://github.com/tangrufus "tangrufus (53 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (40 commits)")

---

Tags

hubspotimporterwordpresswordpress-pluginwp-cliwordpresshubspotimportwp

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/itinerisltd-wp-hubspot-importer/health.svg)

```
[![Health](https://phpackages.com/badges/itinerisltd-wp-hubspot-importer/health.svg)](https://phpackages.com/packages/itinerisltd-wp-hubspot-importer)
```

###  Alternatives

[roots/bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure

6.5k441.8k2](/packages/roots-bedrock)[ffraenz/private-composer-installer

A composer install helper for private packages

2331.7M5](/packages/ffraenz-private-composer-installer)[tareq1988/wordpress-settings-api-class

WordPress settings API Abstraction Class

46611.1k3](/packages/tareq1988-wordpress-settings-api-class)[typisttech/wp-better-settings

A simplified OOP implementation of the WP Settings API

1634.8k3](/packages/typisttech-wp-better-settings)[typisttech/wp-admin-tabs

Create tabbed navigation for WordPress admin dashboard, the OOP way

1712.5k](/packages/typisttech-wp-admin-tabs)[proteusthemes/wp-customizer-utilities

Advanced WordPress customizer controls and settings for better user experience.

329.4k1](/packages/proteusthemes-wp-customizer-utilities)

PHPackages © 2026

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