achertovsky/lib-jwt 问题修复 & 功能扩展

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

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

achertovsky/lib-jwt

最新稳定版本:5.0.1

Composer 安装命令:

composer require achertovsky/lib-jwt

包简介

JWT POPO library

README 文档

README

Lib called to reduce hassle in projects with jwt. Expected to be convenient solution for the purpose.

usage

To check usage cases, please, refer to tests/Service/JwtManagerTest.php, tests/Service/Functional.php. Those tests explain how JwtManager should be used in your application.

Development

install env

docker build -t lib-jwt .
docker run --rm -it -u $(id -u):$(id -g) -w /tmp -v ${PWD}:/tmp lib-jwt composer i

testing

docker run --rm -it -u $(id -u):$(id -g) -w /tmp -v ${PWD}:/tmp lib-jwt vendor/bin/phpunit

testing with coverage

docker run --rm -it -u $(id -u):$(id -g) -w /tmp -v ${PWD}:/tmp lib-jwt php -d pcov.enabled=1 -d pcov.directory=/tmp vendor/bin/phpunit --coverage-text

testing with xdebugging (xdebug on 9001 by default)

docker run --rm -it --add-host=host.docker.internal:host-gateway -u $(id -u):$(id -g) -w /tmp -v ${PWD}:/tmp lib-jwt vendor/bin/phpunit

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2022-12-28