Skip to content

Commit

Permalink
Package Auto-Discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulreghunath committed Jan 9, 2018
1 parent 184bed4 commit 20377ee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
"psr-4": {
"Rahulreghunath\\Textlocal\\": "src/"
}
},
"extra": {
"laravel": {
"providers": [
"Rahulreghunath\\Textlocal\\ServiceProvider"
]
}
},
"minimum-stability": "dev"
}
3 changes: 2 additions & 1 deletion src/Textlocal.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function __construct()

public function send($message, $receiver, $sender = null)
{

$xmlData = '
<SMS>
<Account apiKey="' . $this->key . '" Test="0" Info="1" JSON="0">
Expand All @@ -39,5 +39,6 @@ public function send($message, $receiver, $sender = null)
$data = curl_exec($ch);
curl_close($ch);
return $data;

}
}

0 comments on commit 20377ee

Please sign in to comment.