定制 zeynelabidinozkale/netgsm-sms 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

zeynelabidinozkale/netgsm-sms

最新稳定版本:1.0.2

Composer 安装命令:

composer require zeynelabidinozkale/netgsm-sms

包简介

Netgsm Sms Paketi

README 文档

README

Latest Stable Version Total Downloads License

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-08-16