pkboom / laravel-postmark-webhook
dev-master
2020-05-14 21:04 UTC
Requires
- php: ^7.3
- orchestra/testbench: ^5.2
Requires (Dev)
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-12-15 08:00:57 UTC
README
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.