actweb/mnemonic 问题修复 & 功能扩展

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

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

actweb/mnemonic

Composer 安装命令:

composer require actweb/mnemonic

包简介

Converts passed text into mnemonic text, ideal for making passwords easier to read, also includes a password generator

README 文档

README

Converts passed string into an array of mnemonic words

Static method called :

$output=\actweb\Mnemonic::convert($string);

Where $string='hEllow wOrld!'

Output would be :

Hotel

Uppercase Echo

Lima

Lima

Oscar

Whisky

Space

Whisky

Uppercase Oscar

Romeo

Lima

Delta

Exclamation Mark

Script can also be called from command line, and takes a single parameter as $string

When called from CLI, script just outputs the mnemonic to STDOUT

New static class added that returns a password from Dinopass.com

can be called with 'strong' or 'simple' to get a strong password or a simple one the default is a strong password.

Static method : \actweb\Mnemonic::genPass([|])

Makes an API call to 'dinopass.com' and returns a password.

Please see the website http://dinopass.com for the definition of strong and simple passwords.

PLEASE NOTE : I have been unable to contact Kevan Stannard in the past to request his permission to use his API within this class, if anyone can indicate that he is not happy about me usng his API within this class, please let me know and i will remove the code.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL
  • 更新时间: 2018-05-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固