Skip to content

KenMutisya/ujumbe-sms

Repository files navigation

Ujumbe SMS implementation in Laravel

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

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.

About

A laravel implementation of the Ujumbe SMS platform

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •