This repository has been archived by the owner on Feb 17, 2023. It is now read-only.
Releases: khalidsheet/oursms-laravel
Releases · khalidsheet/oursms-laravel
Adding Trait functionality
Usage/Examples
Now, you can use trait to send SMS or OTP messages to a user
Add the Messageable trait to your model.
class User extends Model {
use Messageable;
.
.
.
}
Now you can use it like this
$user = User::find(1);
// Sending OSM
$user->sendMessage(string $message);
// Sending OTP
$user->sendOtp(string $otp);
Initial Release
1.0.2 Add: Code quality Badge