File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Textlocal
2
- ## textlocal sms gateway api integration in Laravel
2
+ A simple PHP API extension for Textlocal(textlocal.in) sms gateway integration in Laravel
3
+
4
+ Require this package in your composer.json and update composer. This will download the package.
5
+
6
+ composer require rahulreghunath/textlocal
7
+
8
+ ## Installation
9
+
10
+ ### Laravel
11
+
12
+ After updating composer, add the ServiceProvider to the providers array in config/app.php
13
+
14
+ Rahulreghunath\Textlocal\ServiceProvider::class,
15
+
16
+ packege auto discovery available for laravel version 5.5 or later
17
+
18
+ After adding ServiceProvider, Run the command
19
+
20
+ php artisan vendor: publish
21
+
22
+ After that set your textlocal authentication key inside zoho.php file inside config folder and you are good to go
23
+
24
+ $sms = new Textlocal();
25
+ $sms->send('message', 'mobile number');
You can’t perform that action at this time.
0 commit comments