承接 jobayerccj/skebby 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

jobayerccj/skebby

最新稳定版本:v1.0

Composer 安装命令:

composer require jobayerccj/skebby

包简介

laravel package for skebby sms gateway integration

README 文档

README

This is an unofficial package for integrating skebby sms gateway with laravel projects.

Requirements

  • php >= 7.0
  • php curl extension

Installation

you can install it using below composer command

composer require jobayerccj/skebby

How to use

  1. After installing package, write use jobayerccj\Skebby\Skebby; where you want to use it

  2. Then create a new instance for that class like $skebby = new Skebby;

  3. After that, update required information using following methods

    $skebby->set_username('skebby_username');
    $skebby->set_password('skebby_password');
    $skebby->set_method('send_sms_classic');
    $skebby->set_text('text for your sms');
    $skebby->set_sender('ICT Euro Limited');
    
    $recipients = array('+39..........');
    $skebby->set_recipients($recipients);
    
  4. At last, use this method to send your sms $sending_status = $skebby->send_sms(); $sending_status will show sending status(success, failed) whether it's failed or successful. If failed, then reason behind it, If successful, then will show sms id & remaining balance with status info.

    There are few other methods for helping you like get_credit_info() which will show your account's latest credit data.

统计信息

  • 总下载量: 16.16k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-07-19