ferdousanam/laravel-sms-verification 问题修复 & 功能扩展

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

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

ferdousanam/laravel-sms-verification

最新稳定版本:v1.0.0

Composer 安装命令:

composer require ferdousanam/laravel-sms-verification

包简介

Laravel SMS Verification for Authenticatable Models

README 文档

README

Latest Version on Packagist Software License Total Downloads

Run the composer command to install

composer require ferdousanam/laravel-sms-verification

Add mobile_number_verified_at column to Authenticatable model's migration file.

$table->timestamp('mobile_number_verified_at')->nullable();

Publish the migration files

php artisan vendor:publish --tag=sms-verification-migrations

Scaffold the sms verification controllers

php artisan sms-verification:controllers

Scaffold the sms verification channels

php artisan sms-verification:channels

Publish config

Run the following command to publish configuration file

php artisan vendor:publish --tag=sms-verification

Usage

Use the traits HasVerificationTokens, MustVerifyMobileNumber in Authenticatable models

<?php

namespace App\Models;

use Anam\SmsVerification\Contracts\MustVerifyMobileNumber as MustVerifyMobileNumberContract;
use Anam\SmsVerification\HasVerificationTokens;
use Anam\SmsVerification\MustVerifyMobileNumber;

class User extends Authenticatable
{
    use HasVerificationTokens, MustVerifyMobileNumber;
    
    //...
}

Check available routes for sms-verification

php artisan route:list --name=sms-verification

Dev Instruction

DEV.md

Author

Contact Author if interested for author as author is too lazy to write documentation 🙁 Ferdous Anam.

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-11-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固