huangdijia/laravel-mitake 问题修复 & 功能扩展

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

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

huangdijia/laravel-mitake

Composer 安装命令:

composer require huangdijia/laravel-mitake

包简介

mitake for laravel

README 文档

README

Latest Stable Version Total Downloads

Requirements

  • PHP >= 7.0
  • Laravel >= 5.5

Installation

First, install laravel 5.5, and make sure that the database connection settings are correct.

composer require huangdijia/laravel-mitake

Then run these commands to publish config

php artisan vendor:publish --provider="Huangdijia\Mitake\MitakeServiceProvider"

Configurations

// config/mitake.php
    'username' => 'your account',
    'password' => 'your password',

Usage

As Facade

use Huangdijia\Mitake\Facades\Mitake;

...

if (!Mitake::send('mobile', 'some message')) {
    echo Mitake::getError();
    echo Mitake::getErrno();
} else {
    echo "send success";
}

As Command

php artisan mitake:send 'mobile' 'some message'
# send success
# or
# error

As Helper

if (!mitake()->send('mobile', 'some message')) {
    echo mitake()->getError();
    echo mitake()->getErrno();
} else {
    echo "send success";
}
if (!$error = mitake_send('mobile', 'some message')) {
    echo $error;
} else {
    echo "send success";
}

Other

License

laravel-mitake is licensed under The MIT License (MIT).

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-12-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固