jordanbeattie / laravel-hubspot
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/jordanbeattie/laravel-hubspot
Requires
- livewire/livewire: ^2.0
This package is auto-updated.
Last update: 2025-09-29 02:43:59 UTC
README
Requirements
Tailwind
This package relies on having TailwindCSS installed. Copy the following codes to your tailwind.config.js file to display the correct colours:
theme: {
colors: {
hubspot: {
lorax: '#FF7A59',
sorbet: '#FF8F59',
olaf: '#FFFFFF'
}
}
},
Oauth
This package includes Oauth implementation. To include the login button, use the view component.
<x-hubspot::oauth-button />
You can pass in the copy to display as well as disabling the Hubspot icon.
<x-hubspot::oauth-button logo="false" copy="Login now" />
You must also include a callback URL in your .env file.
HUBSPOT_CALLBACK_URL=/hubspot/auth/login
and a route in your web.php file to accept the response. Errors will be handled before reaching this point and throw 500 errors. This route will recieve the following parameters:
- refresh_token
- access_token
- expires_in