-
我看你的源代碼操作table是用
DB::table('laravel_sms') ,希望可以改成ORM的方式操作
並將 tableName、connect 拉到設定檔設定
-
Laravel5.2
laravel-sms v2.2.6
在本地Mac运行正常,可以发送短信,但是在Ubuntu系统报错:
- ErrorException in AliasLoader.php line 66:
- Class 'Toplan\PhpSms\Facades\Sms' not found
然后检查了一下:
- var_dump(class_exists('Toplan\Ph…
-
-
建议把底层的类名改为PhpSms,和对外提供的一样。不一样的话在触发事件的时候,由于对外提供的是PhpSms,很容易让人误解:
``` php
$sms = PhpSms::make()->to($request->input('phone'))->template([
'Alidayu' => '123'
])->data([
'…
-
Hi,
I am new to laravel. I have installed your package i have unicel credentials to send sms my concern is in which file i need to set up configuration for the above inorder to send sms.
-
感谢作者.请问只支持laravel吗? yii2中怎么使用呢?
-
![qq 20160316142422](https://cloud.githubusercontent.com/assets/17507858/13803824/cbbb36b0-eb82-11e5-9070-5a3ab44587ec.png)
云片啊,配置也不会错,就填了apikey
-
Currently, the `send` method in SMS doesn't return anything. Returning the outgoing message created inside the method could be useful (for example for testing). Note that this is done by the equivalen…
-
### SmsController命名空间会产生冲突
``` php
PHP Fatal error: Cannot use SmsManager as SmsManager because the name is already in use in /Users/liguochun/Documents/StarShow/lookme/vendor/toplan/laravel-sms/src…
-
Hello.I use this client on my laravel application..all work nice but I think you forgot to include types to SMS..Now there is only Text SMS support,but where is the binary,flash and WAP push support. …