2017 © Pedro Peláez
 

library laravel-pipedrive-notification-channel

Allows Laravel sites to send notifications to Pipedrive

image

derjacques/laravel-pipedrive-notification-channel

Allows Laravel sites to send notifications to Pipedrive

  • Thursday, September 7, 2017
  • by DerJacques
  • Repository
  • 1 Watchers
  • 1 Stars
  • 504 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

Latest Version on Packagist Software License Build Status Code Coverage Quality Score StyleCI, (*1)

Laravel Pipedrive Notification Channel

A simple Pipedrive driver for Laravel's notification system., (*2)

Features

Currently, the package allows you to easily create and update the following Pipedrive resources:, (*3)

  • Deals
  • Activities
  • Notes

These resources can easily be linked together, so you can create a deal and attach an activity or note in one easy action., (*4)

How to

In order to install, simply use composer:, (*5)

$ composer require derjacques/laravel-pipedrive-notification-channel, (*6)

Heres a full example of how to use the notification channel:, (*7)

// app/Notifications/ExampleNotification

use DerJacques\PipedriveNotifications\PipedriveChannel;
use DerJacques\PipedriveNotifications\PipedriveMessage;

class ExampleNotification extends Notification
{

    public function via($notifiable)
    {
        return [PipedriveChannel::class];
    }

    public function toPipedrive($notifiable)
    {
        return
            (new PipedriveMessage())
                ->deal(function ($deal) {
                    $deal->stage(1)
                         ->title('new deal')
                         ->activity(function ($activity) {
                             $activity->subject('Call Jane')
                                      ->type('call');
                         })
                         ->activity(function ($activity) {
                             $activity->id(3)
                                      ->subject('Email Joe')
                                      ->type('mail');
                         })
                         ->note(function ($note) {
                             $note->content('Link to deal');
                         });
                })
                ->activity(function ($activity) {
                    $activity->subject('Buy milk')
                             ->type('shopping')
                             ->due('2017-12-18');
                });
    }
}
// app/User.php

public function routeNotificationForPipedrive()
{
    return 'YOUR-PIPEDRIVE-KEY';
}

The Versions

07/09 2017

dev-master

9999999-dev

Allows Laravel sites to send notifications to Pipedrive

  Sources   Download

MIT

The Requires

 

The Development Requires

by Manuel Thomsen

07/09 2017

2.1.1

2.1.1.0

Allows Laravel sites to send notifications to Pipedrive

  Sources   Download

MIT

The Requires

 

The Development Requires

by Manuel Thomsen

07/09 2017

2.1.0

2.1.0.0

Allows Laravel sites to send notifications to Pipedrive

  Sources   Download

MIT

The Requires

 

The Development Requires

by Manuel Thomsen

10/07 2017

1.1.0

1.1.0.0

Allows Laravel sites to send notifications to Pipedrive

  Sources   Download

MIT

The Requires

 

The Development Requires

by Manuel Thomsen

28/03 2017

1.0.0

1.0.0.0

Allows Laravel sites to send notifications to Pipedrive

  Sources   Download

MIT

The Requires

 

The Development Requires

by Manuel Thomsen

27/03 2017

dev-analysis-8Qr4bo

dev-analysis-8Qr4bo

Allows Laravel sites to send notifications to Pipedrive

  Sources   Download

MIT

The Requires

 

The Development Requires

by Manuel Thomsen

27/03 2017

0.2.1

0.2.1.0

Allows Laravel sites to send notifications to Pipedrive

  Sources   Download

MIT

The Requires

 

The Development Requires

by Manuel Thomsen

27/03 2017

0.2.0

0.2.0.0

Allows Laravel sites to send notifications to Pipedrive

  Sources   Download

The Requires

 

The Development Requires

by Manuel Thomsen

24/03 2017

0.1.1

0.1.1.0

Allows Laravel sites to send notifications to Pipedrive

  Sources   Download

The Requires

 

The Development Requires

by Manuel Thomsen

23/03 2017

0.0.1

0.0.1.0

Allows Laravel sites to send notifications to Pipedrive

  Sources   Download

The Requires

 

The Development Requires

by Manuel Thomsen