Download the PHP package hashyoo/jwt-auth without Composer

On this page you can find all versions of the php package hashyoo/jwt-auth. 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 jwt-auth

jwt-auth 登录认证

概述

Json web token,登录认证(接口登录和web session登录),支持单社保和多设备登录,需要redis支持。目前仅适用于laravel

兼容框架

目前仅支持laravel5.5+

用法

1、引入composer

2、添加config文件

config文件说明

文件名

hashyoo-jwt.php

ttl 和 signin_mode

providers里的ttl和signin_mode优先级要高于数组里一级ttl和signin_mode

signin_mode:登录模式 se-单设备登录(Single equipment)只有最新的一个token可用, me-多设备登录(More equipment),只要token不过期,都能使用

pass_key

providers里的pass_key可以自定义设置,若不设置,则默认登录表里的密码字段是password

接口和web session

接口形式:在guards里driver设置成api,在header里传递参数,参数名可自行在配置文件里token_key自定义

web session形式:在guards里driver设置成session


All versions of jwt-auth with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
hashyoo/predis-function Version *
illuminate/database Version *
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 hashyoo/jwt-auth contains the following files

Loading the files please wait ....