Download the PHP package andytan07/laravel-ses-tracker without Composer
On this page you can find all versions of the php package andytan07/laravel-ses-tracker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download andytan07/laravel-ses-tracker
More information about andytan07/laravel-ses-tracker
Files in andytan07/laravel-ses-tracker
Package laravel-ses-tracker
Short Description Allows you to track opens, deliveries, bounces, complaints and clicked links when sending emails through Laravel and Amazon SES
License MIT
Informations about the package laravel-ses-tracker
laravel-ses-tracker
This repo is deprecated and archived in favor of more popular email tracking solution in Laravel. Check out jdavidbakr/mail-tracker.
A Laravel 6.0+ Package that allows you to get simple sending statistics for emails you send through SES, including deliveries, opens, bounces, complaints and link tracking.
This is a revamped version of oliveready7/laravel-ses package, updated to support Laravel v6.0+ and some bug fixes. Primarily I revamped this package so it's suitable to be used in my company project with Laravel v6.0+.
Here are the differences between original package and this package:
- All the namespace are changed to
andytan07/LaravelSesTracker
- Service provider is now
LaravelSesTrackerServiceProvider
- All the tables name are prefixed with
laravel_ses_tracker
instead oflaravel_ses
- New unsubscribe column in
laravel_ses_tracker_sent_emails
(TODO) - Config file is now
config/laravel-ses-tracker.php
instead ofconfig/laravelses.php
- Routes are unchanged, they are still prefixed with
/laravel-ses
Apart from the above listed differences, there are not much more difference between this package and oliveready7's package.
Install via composer
Add to composer.json
Make sure your app/config/services.php has SES values set
Important to note that if you're using an IAM, it needs access to SNS (for deliveries, bounces and complaints) as well as SES
Make sure your mail driver located in app/config/mail.php is set to 'ses'
Publish public assets
Migrate the package's database tables
Optionally you can publish the package's config (laravel-ses-tracker.php)
Config Options
- aws_sns_validator - whether the package uses AWS's SNS validator for inbound SNS requests. Default = false
Run command in production to setup Amazon email notifications to track bounces, complaints and deliveries. Make sure in your configuration your app URL is set correctly.
If your application uses the http protocol instead of https add the --http flag to this command
Usage
To send an email with all tracking enabled
All tracking allows you to track opens, bounces, deliveries, complaints and links
You can, of course, disable and enable all the tracking options
The batching option gives you the chance to group emails, so you can get the results for a specific group
You can manipulate the results manually by querying the database. Or you can use functions that come with the package.
Send count = number of emails that were attempted
Deliveries = number of emails that were delivered
Opens = number of emails that were opened
Complaints = number of people that put email into spam
Click throughs = number of people that clicked at least one link in your email
Link Popularity = number of unique clicks on each link in the email, ordered by the most clicked.
API INFO
Data always has the 'success' key indicating whether the request was successful or not
400 bad request = validation for the endpoint failed
404 = something in your query was not found
422 = any other error that might have occurred
Parameters - none
Response
Parameters - none
Response
Parameters - none
Response
Parameters - none
Response
All versions of laravel-ses-tracker with dependencies
illuminate/support Version ^6.0
illuminate/console Version ^6.0
illuminate/mail Version ^6.0
illuminate/database Version ^6.0
illuminate/container Version ^6.0
illuminate/routing Version ^6.0
aws/aws-sdk-php Version ^3.28
ramsey/uuid Version ^3.7
nesbot/carbon Version ^2.0
guzzlehttp/guzzle Version ~6.0
paquettg/php-html-parser Version ^2.2
aws/aws-php-sns-message-validator Version ^1.4
symfony/psr-http-message-bridge Version ^1.0
laminas/laminas-diactoros Version ^2.2