-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bertrand Kintanar
committed
May 24, 2018
1 parent
7ea847f
commit 7689612
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# iTexMo PHP Wrapper for Laravel | ||
|
||
## Installation | ||
``` | ||
composer require laravelcebu/itexmo-php | ||
``` | ||
|
||
## Usage | ||
```php | ||
use LaravelCebu\Itexmo; | ||
|
||
$sms = new Itexmo(); | ||
|
||
$sms->send('xxxxxxxxxxx', 'Hello World!'); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace LaravelCebu\Itexmo\Providers; | ||
|
||
class SMSProvider extends ServiceProvider | ||
{ | ||
public function boot() | ||
{ | ||
$this->publishes([ | ||
__DIR__ . '/../../assets/configs/itexmo.php' => config_path('itexmo.php') | ||
], 'itexmo'); | ||
} | ||
} |