Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Releases: khalidsheet/oursms-laravel

Adding Trait functionality

09 Jun 18:44
Compare
Choose a tag to compare

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

09 Jun 00:04
Compare
Choose a tag to compare
1.0.2

Add: Code quality Badge