randika-srimal / hubspot-card
This package is an boilerplate for intergate HubSpot Card
Installs: 996
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/randika-srimal/hubspot-card
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.