$sms = new \mhndev\messagingSdk\Sms(
'Hi, how you doing man?',
new \mhndev\valueObjects\implementations\MobilePhone('09124971706')
);
$email = new \mhndev\messagingSdk\Email(
new \mhndev\valueObjects\implementations\Email('majid8911303@gmail.com'),
'<div style="color:white; background-color: black">This is sample Email Message</div>',
'test Email',
new \mhndev\valueObjects\implementations\Email('majid@gmail.com')
);
$client = new \mhndev\messagingSdk\Client(
new \GuzzleHttp\Client(),
'http://example.com/send-sms',
'http://example.com/send-email'
);
$client->sendSms($sms);
$client->sendEmail($email);
-
Notifications
You must be signed in to change notification settings - Fork 0
mhndev/messaging-sdk
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
php client for messaging service
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published