pkboom/laravel-postmark-webhook

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

This package is auto-updated.

Last update: 2024-10-15 07:43:25 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

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.

License

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