zeynelabidinozkale/netgsm-sms
最新稳定版本:1.0.2
Composer 安装命令:
composer require zeynelabidinozkale/netgsm-sms
包简介
Netgsm Sms Paketi
README 文档
README
To use this package, you need to register with Netgsm at https://www.netgsm.com.tr/ and enable PHP API support.
Run this code from the command line:
composer require zeynelabidinozkale/netgsm-sms dev-main
config/app.php Add the following lines to the config/app.php file:
return array( // ... 'providers' => array( // ... Zeynelabidinozkale\NetgsmSms\SmsServiceProvider::class, ), // ... 'aliases' => array( // ... 'Sms' => Zeynelabidinozkale\NetgsmSms\Facades\SmsFacade::class, ), );
Ayarlar
php artisan vendor:publish
Use the command to publish the config/sms/sms.php file:
sms.php
return [
"usercode" => "Your Netgsm Username",
"password" => "Your Netgsm Password",
"startdate" => "",
"stopdate" => "",
"type" => "1:n",
"msgheader" => "Your Approved SMS Header in Netgsm PHP API",
"tr" => false, // true sends with Turkish characters, false sends without Turkish characters
];
#Usage
public function index() { return \Sms::sendsms('Hello World','905051078955'); }
统计信息
- 总下载量: 22
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-08-16