venveo/hubspot-toolbox

This package is abandoned and no longer maintained. No replacement package was suggested.

Turnkey HubSpot integration for CraftCMS

1.0.0-beta3 2018-07-10 13:01 UTC

This package is auto-updated.

Last update: 2024-01-19 15:54:34 UTC


README

Features

  • Login to oAuth HubSpot apps
  • Submit forms via API
  • Custom Field for HubSpot Forms (render in Twig or get attributes)
  • Get HubSpot contact properties (Have they filled out a form?)

Installation

    composer require venveo/hubspot-toolbox

Configuring HubSpot Toolbox

  1. Copy the default config file to your config folder as hubspot-toolbox.php
  2. Create an app in your HubSpot developer console with the proper scopes.
  3. Add the HUBSPOT_PORTAL_ID env value to your .env
  4. Configure your app within the hubspot-toolbox.php config file:
    <?php
    return  [
        'hubspotPortalId' => getenv('HUBSPOT_PORTAL_ID'),
        'defaultApp' => 'some_unique_id',
    
        'apps' => [
            'some_unique_id' => [
                'appName' => 'a name for my app',
                'appId' => 000000,
                'clientId' => 'probably_put_this_in_your_env',
                'clientSecret' => 'probably_put_this_in_your_env',
                // Update me
                'scopes' => ['timeline', 'contacts', 'forms']
            ]
        ]
    ];
  5. Enable plugin
  6. Go to plugin settings, click the login button!

Using HubSpot Toolbox

-Insert text here-

HubSpot Toolbox Roadmap

Brought to you by Venveo