pkboom/laravel-postmark-webhook

dev-master 2020-05-14 21:04 UTC

This package is auto-updated.

Last update: 2022-11-15 03:21:00 UTC


README

Latest Stable Version Total Downloads Build Status

Installation

You can install the package via composer:

composer require pkboom/laravel-postmark-webhook

Run the migration:

php artisan migrate

Usage

You can see postmark messages such as bounce and spam with

php artisan postmark-message:show

demo.png

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.

demo2.png

License

The MIT License (MIT). Please see MIT license for more information.