定制 kdcwinner/securitycode 二次开发

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

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

kdcwinner/securitycode

Composer 安装命令:

composer create-project kdcwinner/securitycode

包简介

It will generate a code which will be numbers with 6 digits and it will not be palindrome,not contain same digits more than 3 times, not contain sequencial number more than 3.

README 文档

README

It will generate a code which will be numbers with 6 digits and it will not be palindrume,not contain same digits more than 3 times, not contain sequencial number more than 3. Laravel SecurityCode

Installation

Install the package by the following command,

composer require kdcwinner/securitycode

Add Provider

Add the provider to your config/app.php into provider section.

Kdcwinner\Securitycode\SecuritycodeServiceProvider::class,

fire Migrate command

php artisan migrate

this command will add one column in users table with 'securitycode' name and create on table with 'configration' name.

Fire php artisan serve comand to start your application

then with url with http://127.0.0.1:8000/securitycode/configration Here you can set code length for example. 6 then code will generate with 6 digits, if you set 10 then code will generate with 10 digits.

After configure the code length you have to fire http://127.0.0.1:8000/securitycode/userlist

if you see a no data then insert some data in users table and then again fire this url show you will as button with name 'Assign Access Code' to assign code to that particular user.

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-08-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固