Skip to content

Commit

Permalink
bug fix - laravel 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pamenary authored Mar 7, 2017
1 parent 314f4b0 commit f0350ee
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ composer update
Once composer is finished, you need to add the service provider. Open ```app/config/app.php```, and add a new item to the providers array.

```
'Pamenary\LaravelSms\Laravel\SmsServiceProvider::class',
Pamenary\LaravelSms\Laravel\SmsServiceProvider::class,
```

Next, add a Facade for more convenient usage. In ```app/config/app.php``` add the following line to the aliases array:

```
'Sms' => 'Pamenary\LaravelSms\Laravel\Facade\Sms::class',
'Sms' => Pamenary\LaravelSms\Laravel\Facade\Sms::class,
```
Publish config files:
```
php artisan config:publish livana/sms
php artisan vendor:publish
```
for change username, password and other configuration change ```app/config/sms.php```

Expand Down
1 change: 0 additions & 1 deletion src/Laravel/SmsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ class SmsServiceProvider extends ServiceProvider
*/
public function boot()
{
$this->loadRoutesFrom( __DIR__ . '/routes.php' );
$this->publishes([
__DIR__.'/config/sms.php' => config_path('sms.php'),
]);
Expand Down
24 changes: 23 additions & 1 deletion src/Laravel/config/sms.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,133 +18,155 @@
'from' => '',
],
'aradsms' => [
'website' => 'http://arad-sms.ir',
'webService' => 'http://panel.arad-sms.ir/post/send.asmx?wsdl',
'username' => '',
'password' => '',
'from' => '',
],
'ariaideh' => [
'website' => 'http://ariaideh.com',
'webService' => 'http://sms.ariaideh.com/API/Send.asmx?WSDL',
'username' => '',
'password' => '',
'from' => '',
],
'_0098sms' => [
'website' => 'http://www.0098sms.com',
'webService' => 'http://www.0098sms.com/',
'username' => '',
'password' => '',
'from' => '',
],
'_500sms' => [
'website' => 'http://500sms.ir',
'webService' => 'http://500sms.ir/webservice/smsService.php?wsdl',
'username' => '',
'password' => '',
'from' => '',
],
'adpdigital' => [
'website' => 'http://adpdigital.com/services',
'webService' => 'http://500sms.ir/webservice/smsService.php?wsdl',
'username' => '',
'password' => '',
'from' => '',
],
'afe' => [
'website' => 'http://afe.ir',
'webService' => 'http://www.afe.ir/WebService/webservice.asmx?WSDL',
'username' => '',
'password' => '',
'from' => '',
],
'afilnet' => [
'website' => 'http://www.afilnet.com',
'webService' => 'http://www.afilnet.com/ws/v2/index.php?wsdl',
'username' => '',
'password' => '',
'from' => '',
],
'amansoft' => [
'website' => 'http://sms.amansoft.ir',
'webService' => 'http://sms.amansoft.ir/API/Send.asmx?WSDL',
'username' => '',
'password' => '',
'from' => '',
],
'arkapayamak' => [
'website' => 'http://www.arkapayamak.ir',
'webService' => 'http://api.payamak-panel.com/post/send.asmx?WSDL',
'username' => '',
'password' => '',
'from' => '',
],
'asanak' => [
'website' => 'http://asanak.ir',
'webService' => 'http://panel.asanak.ir/webservice/v1rest/sendsms',
'username' => '',
'password' => '',
'from' => '',
],
'barmanpayamak' => [
'webService' => 'http://api.payamak-panel.com/post/send.asmx?WSDL',
'website' => 'http://asanak.ir',
'webService' => 'http://www.barmanpayamak.ir',
'username' => '',
'password' => '',
'from' => '',
],
'barzinsms' => [
'website' => 'http://barzingostar.ir',
'webService' => 'http://barzinsms.ir/post/send.asmx?wsdl',
'username' => '',
'password' => '',
'from' => '',
],
'bearsms' => [
'website' => 'http://www.bearsms.com',
'webService' => 'http://app.bearsms.com/index.php?app=ws',
'username' => '',
'password' => '',
'from' => '',
],
'bestit' => [
'website' => 'http://panelsms.bestit.co',
'webService' => 'http://panelsms.bestit.co/WsSms.asmx?wsdl',
'username' => '',
'password' => '',
'from' => '',
'key' => '',
],
'bulutfon' => [
'website' => 'http://bulutfon.com',
'webService' => 'https://api.bulutfon.com/messages',
'username' => '',
'password' => '',
'from' => '',
],
'caffeweb' => [
'website' => 'http://caffeweb.com',
'webService' => 'http://sms.caffeweb.com/post/send.asmx?wsdl',
'username' => '',
'password' => '',
'from' => '',
],
'chapargah' => [
'website' => 'http://chapargah.ir',
'webService' => 'http://panel.chapargah.ir/API/Send.asmx?WSDL',
'username' => '',
'password' => '',
'from' => '',
],
'chaparpanel' => [
'website' => 'http://chaparpanel.ir',
'webService' => 'http://87.107.121.52/post/send.asmx?WSDL',
'username' => '',
'password' => '',
'from' => '',
],
'difaan' => [
'website' => 'http://csmsplus.mobilinkworld.com',
'webService' => 'http://csmsplus.mobilinkworld.com/',
'username' => '',
'password' => '',
'from' => '',
],
'dot4all' => [
'website' => 'http://sms.dot4all.it',
'webService' => 'http://sms.dot4all.it/sms/',
'username' => '',
'password' => '',
'from' => '',
],
'esms24' => [
'website' => 'http://esms24.ir',
'webService' => 'http://esms24.ir/sendSmsViaURL.aspx',
'username' => '',
'password' => '',
'from' => '',
],
'faraed' => [
'website' => 'http://smspanel.faraed.com',
'webService' => 'http://panelesms.net/SendMessage.ashx',
'username' => '',
'password' => '',
Expand Down

0 comments on commit f0350ee

Please sign in to comment.