You can install the package via composer:
composer require pkboom/laravel-postmark-webhook
Run the migration:
php artisan migrate
You can see postmark messages such as bounce and spam with
php artisan postmark-message:show
You can also use options such as --bounce
and --spam
.
You can optionally publish the config file with:
php artisan vendor:publish --provider="Pkboom\PostmarkWebhook\PostmarkWebhookServiceProvider" --tag="config"
This is the contents of the published config file:
<?php
return [
/**
* You can set up postmark user and password here. They should be the same values as you set up
* in postmark webhook page.
*/
'user' => env('POSTMARK_USER', null),
'password' => env('POSTMARK_PASSWORD', null),
];
If you want to use Basic auth credentials
, go to postmark webhook
page and set up credentials.
The MIT License (MIT). Please see MIT license for more information.