namboy94/welwitschi-auth 问题修复 & 功能扩展

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

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

namboy94/welwitschi-auth

Composer 安装命令:

composer require namboy94/welwitschi-auth

包简介

Authentication Library for PHP 7.1+

README 文档

README

master develop
build status build status

Logo

Welwitschi-Auth is an authentication library for use in websites written in PHP. It offers an object-oriented abstraction over rows stored in a MySQL/MariaDB database.

Accounts created by this library all receive a unique ID in the database. Usernames and email addresses are also unique, it is not possible to have duplicate entries.

Upon creation of an account, the account will need to be confirmed before being able to log in or generate API keys.

A user is able to log in with exactly one device at a time, as well as have one active API token.

Security

Passwords, API Tokens and Login Tokens are all stored salted and hashed using the builtin password_hash() function. The algorithm used to hash the password is PASSWORD_BCRYPT.

All SQL Statements with variable values are properly escaped to avoid SQL injection.

Usernames and Email addresses are sanitized using html htmlspecialchars to avoid Cross-Site-Scripting attacks (XSS).

Installation

You can use welwitschi-auth by adding the requirement

"namboy94/welwitschi-auth": "dev-master"

to your composer.json file an then running composer install. You can then find the classes in vendor/namboy94/welwitschi-auth/src. Thanks to autoloader, you should be able to easily access the classes from cheetah-bets.

Documentation

All classes and methods are documented using DocBlock comments. Additional Documentation can be found in doc.

Further Information

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2017-07-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固