Send sms messages through a third party api.

v0.2.0 2022-04-18 11:54 UTC

This package is auto-updated.

Last update: 2024-04-18 16:15:52 UTC


README

A basic laravel package to send SMS messages through third party APIs.

Run: php artisan smspackage:install It will make a new config file called 'smspackage.php' in config directory, if haven't got any.

Then run php artisan make:notification ExampleSms

Then in ExampleSms define a method named 'toSms' that returns an inatance of HirbodKhatami\SmsPackage\Sms class.

Don't forget to use 'text' and 'to' public methods of Sms class(this is required).