Skip to content

Commit

Permalink
fixing class name
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardo-g-silva committed Mar 14, 2017
1 parent 84b0446 commit 50504c7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Twilio for Yii2
================
This component is YII2 wrapper for Twilio PHP SDK.
forked and updated from filipajdacic


Installation
------------
Expand All @@ -10,13 +12,13 @@ The preferred way to install this extension is through [composer](http://getcomp
Either run

```
php composer.phar require --prefer-dist filipajdacic/yii2-twilio "master@dev"
php composer.phar require --prefer-dist open-ecommerce/yii2-twilio "master@dev"
```

or add

```
"filipajdacic/yii2-twilio": "master@dev"
"open-ecommerce/yii2-twilio": "master@dev"
```

to the require section of your `composer.json` file.
Expand All @@ -30,9 +32,9 @@ Once the extension is installed, simply use it in your code by putting this in y
'components' => array(
...
'Yii2Twilio' => [
'class' => 'filipajdacic\yiitwilio\YiiTwilio',
'class' => 'open-ecommerce\yiitwilio\YiiTwilio',
'account_sid' => 'YOUR_TWILIO_ACCOUNT_SID_HERE',
'auth_key' => 'YOUR_TWILIO_AUTH_KEY_HERE',
'auth_key' => 'YOUR_TWILIO_AUTH_KEY_HERE',
],
...
);
Expand Down Expand Up @@ -67,4 +69,4 @@ Resources
[Twilio.com](http://www.twilio.com)


If you have any questions, feel free to ask.
If you have any questions, feel free to ask.
2 changes: 1 addition & 1 deletion YiiTwilio.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace filipajdacic\yiitwilio;
namespace open-ecommerce\yiitwilio;

use yii\base\Component;
use \Services_Twilio;
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"autoload": {
"psr-4": {
"filipajdacic\\yiitwilio\\": ""
"open-ecommerce\\yiitwilio\\": ""
}
}
}

0 comments on commit 50504c7

Please sign in to comment.