sovannrach / notification
Send notification via api server
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/sovannrach/notification
This package is auto-updated.
Last update: 2025-12-29 03:20:21 UTC
README
Description
This libraries is build for send notification to email
Installation
Install the dependencies and devDependencies and start the server.
Update your composer to v2 : https://newbedev.com/shell-update-composer-2-ubuntu-code-example cd laravel_project_path composer require sovannrach/notification
If you want to config with your notification server, Open .env file and add code
NOTIFICATION_URL=xxxx NOTIFICATION_CLIENT_ID=x NOTIFICATION_SECRET_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxx
Usage
use Sovannrach\Notification\Http\Libraries\SendMail; public function sendMail () { $data = [ 'subject' => 'Disable Broker Card', 'title' => 'Mail Title...', 'body' => 'Mail body content...', 'to' => 'sovannrach@gmail.com' ]; return SendMail::send($data); });
License
MIT