Order status notifications task.
You can install the package via composer:
composer require tmbenhura/pet-shop-order-status-notifications
You can publish the config file with:
php artisan vendor:publish --tag="pet-shop-order-status-notifications-config"
This is the contents of the published config file:
return [
'model' => env('OSN_MODEL', 'App\\Models\\Order'),
'webhook_url' => env('OSN_WEBHOOK_URL', ''),
];
Package will invoke webhook automatically a statuses change.
composer test