定制 matriphe/laravel-md5-hash 二次开发

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

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

matriphe/laravel-md5-hash

最新稳定版本:2.3

Composer 安装命令:

composer require matriphe/laravel-md5-hash

包简介

Laravel package to use unsecured MD5 for password hash

README 文档

README

Laravel MD5 Hash Total Download Latest Stable Version

This package is used to replace Laravel default hash to support the old system that used MD5 for password hash.

Warning Please use it at your own risk, since MD5 is not recommended to be used as a password hash.

Installation

Using Composer, just run this command below.

composer require matriphe/laravel-md5-hash

For Laravel < 6, please use version 1.1.1 and follow the configuration instruction.

composer require matriphe/laravel-md5-hash:1.1.1

Configuration

This package uses auto-discovery. Once it got installed, it will automatically replace the hash function to use MD5.

Usage

Now you can use the built-in hash function using this command.

Hash::make('password'); // return 5f4dcc3b5aa765d61d8327deb882cf99
bcrypt('password'); // return 5f4dcc3b5aa765d61d8327deb882cf99

Contribution

All contributions are welcomed. Please create a pull request or merge request, and make sure all checks are passed ✅ before merging.

If the check failed on checking PHP style, please run php-cs-fixer to fix it.

Using Docker

docker run -it --rm -v $(pwd):/app -w /app oskarstark/php-cs-fixer-ga fix

Local Dev

vendor/bin/php-cs-fixer fix

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-11-27