rudolphp/laravel-textlocal

This is a Wrapper for SMS Service of TextLocal.in

dev-main 2022-11-20 06:45 UTC

This package is auto-updated.

Last update: 2025-08-20 13:32:47 UTC


README

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