Skip to content

rudolphp/laravel-textlocal

Repository files navigation

This is a Wrapper for SMS Service of TextLocal.in

Laravel Package to Integrate TextLocal.in SMS.

Installation

You can install the package via composer:

composer require rudolphp/laravel-textlocal

You can publish and run the migrations with:

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

You can publish the config file with:

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

This is the contents of the published config file:

return [
];

Optionally, you can publish the views using

php artisan vendor:publish --tag="textlocal-views"

Usage

$sms = new LaravelTextlocal();

// sender, optional
$sms->send('message', 'mobile number','sender');

Testing

composer test

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Documentation

https://api.textlocal.in/docs/phpclass

If you liked this package!

Buy Me A Coffee

About

Laravel Package for Textlocal.in SMS Service

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages