PHPackages                             digitalrisks/hubspot-notification-channel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. digitalrisks/hubspot-notification-channel

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

digitalrisks/hubspot-notification-channel
=========================================

Hubspot Notification Channel for laravel.

v2.0(3y ago)19.0k2MITPHPPHP ^7.1.3|^8.0CI failing

Since Aug 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/gosuperscript/hubspot-notification-channel)[ Packagist](https://packagist.org/packages/digitalrisks/hubspot-notification-channel)[ RSS](/packages/digitalrisks-hubspot-notification-channel/feed)WikiDiscussions master Synced yesterday

READMEChangelog (8)Dependencies (4)Versions (9)Used By (0)

Laravel Hubspot Notification Channel
====================================

[](#laravel-hubspot-notification-channel)

This package makes it easy to send Hubspot (Single Send Email) notifications with Laravel.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require digitalrisks/hubspot-notification-channel
```

Add the service provider (only required on Laravel 5.4 or lower):

```
// config/app.php
'providers' => [
    ...
    DigitalRisks\Notifications\ServiceProvider::class,
],
```

### Setting up your Hubspot account

[](#setting-up-your-hubspot-account)

Add your Hubspot key to your `config/services.php`:

```
// config/services.php
...
'hubspot' => [
    'app_access_token' => env('HUBSPOT_APP_ACCESS_TOKEN', null),
    'template_id' => env('TEMPLATE_NAME_ID', null)
],
...
```

Usage
-----

[](#usage)

Now you can use the channel in your `via()` method inside the notification:

```
