Skip to content

Commit

Permalink
Merge pull request #159 from Paplow/master
Browse files Browse the repository at this point in the history
Made the command description more specific
  • Loading branch information
hannesvdvreken authored Aug 24, 2018
2 parents d358283 + 578753f commit c121c69
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ line to the `aliases` array if you want to use a short class name:

In Laravel 4 you can publish the default config file to `app/config/packages/aloha/twilio/config.php` with the artisan command `config:publish aloha/twilio`.

In Laravel 5 you can publish the default config file to `config/twilio.php` with the artisan command `vendor:publish`.
In Laravel 5 you can publish the default config file to `config/twilio.php` with the artisan command `vendor:publish --tag=config`.
Or to ensure you publish only this package's tag use
```shell
php artisan vendor:publish --tag=config --provider=Aloha\Twilio\Support\Laravel\ServiceProvider
```


#### Facade

Expand Down
2 changes: 1 addition & 1 deletion src/Commands/TwilioCallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class TwilioCallCommand extends Command
*
* @var string
*/
protected $description = 'Twilio command to test Twilio API Integration.';
protected $description = 'Twilio command to test Twilio Call API Integration.';

/**
* @var TwilioInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/TwilioSmsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class TwilioSmsCommand extends Command
*
* @var string
*/
protected $description = 'Twilio command to test Twilio API Integration.';
protected $description = 'Twilio command to test Twilio SMS API Integration.';

/**
* @var \Aloha\Twilio\TwilioInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Support/Laravel/L5ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function boot()
{
$this->publishes([
__DIR__.'/../../config/config.php' => config_path('twilio.php'),
]);
], 'config');

$this->mergeConfigFrom(__DIR__.'/../../config/config.php', 'twilio');

Expand Down

0 comments on commit c121c69

Please sign in to comment.