承接 lapix/simple-jwt-laravel 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

lapix/simple-jwt-laravel

最新稳定版本:v4.0.2

Composer 安装命令:

composer require lapix/simple-jwt-laravel

包简介

Package to handling the JWT Authentication with Laravel and SimplJWT

README 文档

README

Installation

You should implements the following interface and bind it.

  1. First, publish the package asserts: Configuration and Service Provider.
php artisan vendor:publish --tag=simple-jwt
  1. You should implement the following interfaces:
  • Lapix\SimpleJwt\SubjectRepository
  • Lapix\SimpleJwt\ClaimsHandler
  1. Add the service provider to the file /config/app.php.

  2. Generate a new key pair using the command php artisan simple-jwt:keys and add the following environment variables:

  • JWT_PRIVATE_KEYS: Private key.
  • JWT_PUBLIC_KEYS: Public key.
  • JWT_IDS: An arbitrary value, it used to identify the key.
  1. Change the configuration in the file config/simple-jwt.php as you want.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-03-14