Logo

Step 1 - Install

To integrate your Laravel application with Paragraph, first install our package using Composer:


$ composer require paragraph/laravel-notifications
                            

Then, add the following two environment variables to your .env file:

Step 2 - Send data

Now that Paragraph is tracking the outgoing notifications, you need to sync this information with the Paragraph dashboard. To do so, run our console command – it will go through locally saved files and submit the data to our API. You can run this manually or you can do this as a scheduled command (recommended) – up to you.


$ php artisan paragraph:submit
                            

Now, you will get full visibility over your application notifications!

Done! Manage your notifications like never before

Go to "Notifications" section in Paragraph to see a historical log of all your outgoing messages including email, sms and any custom channels. See what exactly did you send and why.

Notifications historical log

Filtering by recipient

Click on recipient (customer) ID to filter by a specific customer of yours. Customer IDs can be anonymized by implementing a paragraphId() method on your Notifiable class (eg. User class):


    public function paragraphId()
    {
        return md5($this->id);
    }
                            

Notification triggers

There is more cool stuff! Click on any notification to get more advanced information about it including a list of ways how it's triggered in your application. Does it come from a controller or maybe a scheduled command, or maybe both?

Notification advanced view

Delivery status

Connect your providers like Mailgun, Mailchimp, Twilio and others to get visibility on the latest status of each notification sent - was it delivered successfully? Did customer open it?

Notification advanced view

Paragraph