kenmush/ujumbesms

Ujumbe SMS implementation in Laravel

Fund package maintenance!
Kenmush

Installs: 30

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 1

Open Issues: 2

Language:CSS

v1.1.1 2022-09-05 21:12 UTC

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us

68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f556a756d6265534d532e6a70673f743d31

Installation

You can install the package via composer:

composer require kenmush/ujumbesms

You can publish and run the migrations with:

php artisan vendor:publish --tag="ujumbesms_without_prefix-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="ujumbesms_without_prefix-config"

Optionally, you can publish the views using

php artisan vendor:publish --tag="ujumbesms"

This is the contents of the published config file:

return [
  'api_key'   => env('UJUMBE_API_KEY', 'bf4ca6e4-a1f0-4153-b361-6785991083c3'),
   'sender_id' => env("UJUMBE_SENDER_ID", 'UjumbeSMS'),
   'email'     => env("UJUMBE_EMAIL", '*****@youremail.com'),
   'prefix'     => 'ujumbe',
   'middleware' => ['web'],
];

Usage

use Kenmush\UjumbeSMS\UjumbeSMS;

UjumbeSMS::to([$phoneNumber])->message("Hi Kennedy ".Str::random(18))

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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