shipsaas/laravel-jwks 问题修复 & 功能扩展

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

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

shipsaas/laravel-jwks

Composer 安装命令:

composer require shipsaas/laravel-jwks

包简介

Manage JSON Web Key Sets (JWKS) for your Laravel applications

README 文档

README

Build & Test (PHP 8.2) codecov

Provide libraries to help you deal with JSON Web Key Sets (JWKS) in Laravel 😉

Documentation: ShipSaaS Laravel JWKS

Supports

  • Laravel 10+
  • PHP 8+
  • RSA algorithm only (for now)

Sample use cases

Ever thought of microservices? One of the biggest challenges is having the Authentication (& Authorization) service.

However, you don't have to spend enormous time building a brand new AuthService and migrating the current users.

Your current app = the core, the heart of everything. Let's build satellite services around that.

laravel-jwks-diagram.png

With (Laravel) JWKS, we will have:

  • The main app exposes the JWKs internally for the satellite microservices.
  • The satellite services can simply obtain the JWKs and verify the signed JWT token before handling the actual requests.

JWKS is supported in multiple languages e.g.: Node.js, Go,...

Installation

Install the library:

composer require shipsaas/laravel-jwks

Export config

php artisan vendor:publish --tag=laravel-inbox-process

Documentation & Usage

Visit: ShipSaaS Laravel JWKS

Best practices & notes are well documented too 😎!

Testing

Run composer test 😆

Available Tests:

  • Unit Testing
  • Feature Testing with REAL KEYs

Contributors

  • Seth Phat

Contributions & Support the Project

Feel free to submit any PR, please follow PSR-1/PSR-12 coding conventions and testing is a must.

If this package is helpful, please give it a ⭐️⭐️⭐️. Thank you!

License

MIT License

统计信息

  • 总下载量: 18.62k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-10-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固