lwekuiper / statamic-hubspot
Subscribe forms to HubSpot
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:statamic-addon
Requires
- php: ^8.2
- laravel/framework: ^10.0 || ^11.0 || ^12.0
- statamic/cms: ^4.0 || ^5.0
Requires (Dev)
- laravel/pint: ^1.0
- orchestra/testbench: ^8.0 || ^9.0 || ^10.0
README
This package provides an easy way to integrate HubSpot with Statamic forms and allows for multi-site configurations with the Pro edition.
Features
This addon allows you to:
Lite edition
- Configure Statamic forms to subscribe to a HubSpot list.
Pro edition
- Adds multi-site functionality.
- For site networks where the same form needs to subscribe to a different HubSpot list depending on the current site.
Requirements
- PHP 8.2+
- Laravel 10.0+
- Statamic 4.0+
How to Install
You can search for this addon in the Tools > Addons
section of the Statamic control panel and click install, or run the following command from your project root:
composer require lwekuiper/statamic-hubspot
The package will automatically register itself.
Configuration
Set your HubSpot Access Token in your .env
file.
HUBSPOT_ACCESS_TOKEN=your-private-app-token-here
Pro edition
Note The Pro edition of this addon requires Statamic Pro to enable multi-site capabilities.
After purchasing the pro edition, you can enable it by setting the edition of the addon to 'pro'
in the config/statamic/editions.php
file of your project:
'addons' => [ 'lwekuiper/statamic-hubspot' => 'pro' ],
How to Use
Create your Statamic forms as usual and add the HubSpot configuration.