Download the PHP package hahadu/think-userlogin without Composer

On this page you can find all versions of the php package hahadu/think-userlogin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package think-userlogin

think-userlogin

thinkphp用户登录模块

  • 用户登录
  • 用户注册
  • 验证邮箱注册
  • 验证用户登录
  • 手机短信注册
  • 登录鉴权方式:session/cookie 或JWT 方式鉴权
  • 支持登陆后跳转到登陆前请求页面

安装:

默认安装依赖项 :

  • thinkphp验证码模块 topthink/think-captcha
  • 发送验证邮件 phpmailer/phpmailer
  • 发送验证短信 hahadu/sms
  • 返码状态 hahadu/think-jump-class

创建用户数据表(可选)

1.配置config/console.php
2.命令行指令说明

项目做了用户名、密码、验证码的基本验证和登录成功后的session创建

使用:

配置

用户表配置
页面跳转配置
邮箱验证注册
短信验证注册

短信使用 hahadu/sms 模块 近期短信模块重大升级,升级本模块后请务必修改短信模块的配置项!详情参考: https://github.com/hahadu/sms

修改密码

获取邮箱或者短信验证码也是非常简单

如需自己定义验证码,只需按照tp6的验证码文档操作即可

关于返回状态码:


All versions of think-userlogin with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
topthink/think-captcha Version ^3.0
hahadu/helper-function Version >=0.6.0
hahadu/think-jump-class Version >=3.1
lcobucci/jwt Version ^3.3
phpmailer/phpmailer Version ^6.1
hahadu/sms Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hahadu/think-userlogin contains the following files

Loading the files please wait ....