menumbing/oauth2-server 问题修复 & 功能扩展

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

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

menumbing/oauth2-server

Composer 安装命令:

composer require menumbing/oauth2-server

包简介

OAuth2 component for Hyperf inspired from Laravel Passport

关键字:

README 文档

README

menumbing/oauth2-server is a standards compliant implementation of an OAuth 2.0 authorization server. This component is Hyperf component as wrapper of league/oauth2-server. You can easily configure an OAuth 2.0 server to protect your API with access tokens, or allow clients to request new access tokens and refresh them.

Out of the box it supports the following grants:

  • Authorization code grant
  • Client credentials grant
  • Device authorization grant
  • Implicit grant
  • Refresh grant
  • Resource owner password credentials grant

The following RFCs are implemented:

Requirements

  • PHP>=8.1
  • swoole extension
  • openssl extension
  • json extension

Installation

composer req menumbing/oauth2-server

php bin/hyperf.php install:oauth2

php bin/hyperf.php start

Generate Client

php bin/hyperf.php gen:oauth2-client

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-13