Skip to content

Commit

Permalink
Added Service Provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertrand Kintanar committed May 24, 2018
1 parent 7ea847f commit 7689612
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
15 changes: 15 additions & 0 deletions readme.md
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!');
```
13 changes: 13 additions & 0 deletions src/Providers/SMSProvider.php
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');
}
}

0 comments on commit 7689612

Please sign in to comment.