devhereco/4jawaly 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

devhereco/4jawaly

最新稳定版本:1.0.0

Composer 安装命令:

composer require devhereco/4jawaly

包简介

A Laravel package for 4 Jawaly SMS API.

README 文档

README

4 Jawaly SMS is a Laravel package that provides a method to use forjawaly API services, with a few simple lines of code.

downloads stars contributors releases issues latest-release

Installation

1. Require with Composer

- composer require guzzle/guzzle
- composer require devhereco/forjawaly

2. Add Service Provider (Laravel 5.4 and below)

Latest Laravel versions have auto dicovery and automatically add service provider - if you're using 5.4.x and below, remember to add it to providers array at /app/config/app.php:

// ...
Devhereco\ForJawaly\ServiceProvider::class,

3. env variables

FOR_JAWALY_APP_KEY=
FOR_JAWALY_SECRET=
FOR_JAWALY_SENDER=

Usages

1. One way messages

This function will allow you to send messages to selected numbers.

Examples:

use Devhereco\ForJawaly\ForJawaly;

ForJawaly::send('966555644047', 'Test Message');
// ForJawaly::send(Receiver Number, Message);

2. Get Account Balance

This function will show ForJawaly account balance in your backend.

Examples:

use Devhereco\ForJawaly\ForJawaly;

ForJawaly::balance();

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-06-10