hmimeee/textlocal

HTTP(s) SMS API Handler for TextLocal - An SMS sending provider

1.0.2 2023-05-07 14:57 UTC

This package is auto-updated.

Last update: 2024-11-14 11:49:10 UTC


README

Latest Version on Packagist Total Downloads GitHub Actions

Installation

You can install the package via composer:

composer require hmimeee/textlocal

Usage

Add this method inside the notifiable model to route the attribute for mobile number

/**
* Route notifications for the SMS channel.
*/
public function routeNotificationForSms(Notification $notification): string
{
  return $this->cell_phone_no;
}

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email hmimeee@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.