I have notifications that are sent when specific data is entered by a user through a form on a Laravel app.
ie in a controller
// some db entry
// then notifiy
Notification::send($users, new \app\Notifications\TxnAdded($txn));
I also, have a python script that can generate similar entries in the database and I would the same notifications to be sent when that happens.
TL;DR How do I send Laravel notifications when there is a specific change in the DB or from an external python script?