rudolphp / laravel-textlocal
This is a Wrapper for SMS Service of TextLocal.in
dev-main
2022-11-20 06:45 UTC
Requires
- php: ^8.1
- illuminate/contracts: ^9.0
- spatie/laravel-package-tools: ^1.13.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^6.0
- orchestra/testbench: ^7.0
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.1
- phpunit/phpunit: ^9.5
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