randika-srimal / hubspot-card
There is no license information available for the latest version (v1.2.1) of this package.
This package is an boilerplate for intergate HubSpot Card
v1.2.1
2022-11-29 07:54 UTC
Requires
- firebase/php-jwt: ^6.3.1
README
How to install the package
-
Install the composer package by executing
composer require randika-srimal/hubspot-card
. -
Open project terminal and execute
php artisan hubspot-card:install
. This will add the required routes, controllers and resources to your project. -
HubSpot Card data get route is
/hubspot-card/data
. Card view will be available at/hubspot-card
. You may change these if required.
Important
Below .env properties can be used to extend HubSpot Card functionality.
HUBSPOT_CARD_JWT_SECRET
: Setting this will add JWT security to card view URL.HUBSPOT_CARD_TOKEN_ACTIVE_MINUTES
: The JWT will be expire after the minutes you set here. Default is 30 minutes.HUBSPOT_CLIENT_SECRET
: Setting this will enable HubSpot request verification.