定制 ridvanbaluyos/semaphore 二次开发

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

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

ridvanbaluyos/semaphore

最新稳定版本:v0.1

Composer 安装命令:

composer require ridvanbaluyos/semaphore

包简介

A Laravel 4.2 Package for the Sempahore SMS API.

README 文档

README

A Semaphore API package for Laravel 4.2

This package makes use of the Semaphore SMS API.


[![Latest Stable Version](https://poser.pugx.org/ridvanbaluyos/semaphore/v/stable)](https://packagist.org/packages/ridvanbaluyos/semaphore) [![Total Downloads](https://poser.pugx.org/ridvanbaluyos/semaphore/downloads)](https://packagist.org/packages/ridvanbaluyos/semaphore) [![Latest Unstable Version](https://poser.pugx.org/ridvanbaluyos/semaphore/v/unstable)](https://packagist.org/packages/ridvanbaluyos/semaphore) [![License](https://poser.pugx.org/ridvanbaluyos/semaphore/license)](https://packagist.org/packages/ridvanbaluyos/semaphore) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/a00a62b826474e7e929a65adfc8f1df4)](https://www.codacy.com/app/ewoklabs/semaphore?utm_source=github.com&utm_medium=referral&utm_content=ridvanbaluyos/semaphore&utm_campaign=Badge_Grade)

Table of contents

Installation

Open your composer.json file and add the following to the require key:

"ridvanbaluyos/semaphore": "v0.1"

After adding the key, run composer update from the command line to install the package

composer update

Add the service provider to the providers array in your app/config/app.php file.

'Ridvanbaluyos\Semaphore\SemaphoreServiceProvider'

Configuration

Before you can start using the package we need to set some configurations. To do so you must first publish the config file, you can do this with the following artisan command.

php artisan config:publish ridvanbaluyos/semaphore

Usage

Sending SMS to users

Semaphore::send('Welcome to Semaphore!', '639981234567');

Account Status

Semaphore::account();

Message Logs

Semaphore::messages(); // fetches the first 100 logs
Semaphore::messages(2); // fetches the next 100 logs or page 2

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固