Packagist · packagist:league/oauth2-server
league/oauth2-server 活跃
A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.
| 最新稳定版本 | 9.4.1 |
|---|---|
| 发布时间 | 2026-06-25 15:24:07+00:00 |
| 安装 | composer require league/oauth2-server |
| 所需 PHP 版本 (composer.json) | PHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-10-08 23:59:55 UTC |
| 来源 | api.osv.dev, repo.packagist.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-06-25 15:24:07 UTC · 105 天前 |
| 过去 12 个月的稳定版本数 | 3 |
| 已发布版本数 | 116 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
9.4.1 | 2026-06-25 15:24:07 UTC |
9.4.0 | 2026-06-14 08:12:22 UTC |
9.3.0 | 2025-11-25 22:51:15 UTC |
9.2.0 | 2025-02-15 00:49:10 UTC |
8.5.5 | 2024-12-20 23:06:10 UTC |
8.4.3 | 2024-12-18 00:21:54 UTC |
9.1.0 | 2024-11-21 22:47:09 UTC |
9.0.1 | 2024-10-14 22:17:04 UTC |
9.0.0 | 2024-05-13 21:35:12 UTC |
8.5.4 | 2023-08-25 22:35:12 UTC |
8.4.2 | 2023-08-02 22:54:39 UTC |
8.5.3 | 2023-07-05 23:01:32 UTC |
8.5.2 | 2023-06-16 15:32:47 UTC |
8.5.1 | 2023-04-04 10:20:16 UTC |
8.5.0 | 2023-04-03 14:54:34 UTC |
8.4.1 | 2023-03-22 11:47:53 UTC |
8.4.0 | 2023-02-15 16:08:35 UTC |
8.3.6 | 2022-11-14 19:42:00 UTC |
8.3.5 | 2022-05-03 21:21:28 UTC |
8.3.4 | 2022-04-07 21:33:04 UTC |
显示 113 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
php 7.4 | 8.4.3 |
php 8.0 | 8.5.5 |
php 8.1 | 9.3.0 |
php 8.2 | 9.4.1 |
php 8.3 | 9.4.1 |
php 8.4 | 9.4.1 |
把这些数据交给你的 AI 智能体
Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
添加到 Cursor添加到 VS Code★ 在 GitHub 上加星
任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }常见问题
league/oauth2-server 的最新版本是什么?
league/oauth2-server 的最新稳定版本是 9.4.1,发布于 2026-06-25。Vigia 于 2026-10-08 核实。
如何安装 league/oauth2-server 的最新版本?
运行 composer require league/oauth2-server。最新稳定版本是 9.4.1(2026-10-08 核实)。
league/oauth2-server 是否已弃用?
否。注册表中 league/oauth2-server 未被标记为已弃用。
league/oauth2-server 需要哪个版本的 PHP?
league/oauth2-server 9.4.1 声明的要求为:PHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0。
league/oauth2-server 9.4.1 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 league/oauth2-server 9.4.1。
league/oauth2-server 是否仍在维护?
league/oauth2-server 在过去 12 个月内发布了 3 个稳定版本,最近一次在 105 天前。活跃度:活跃。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- sebastian/git-state
- symfony/security-core
- google/common-protos
- symfony/expression-language
- spomky-labs/cbor-php
- laravel/pao
- doctrine/annotations
- symfony/password-hasher
- symfony/twig-bridge
- php-http/message
- laravel/horizon
- clue/stream-filter
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/packagist/league/oauth2-server) [](https://vigia.coredls.cloud/packagist/league/oauth2-server) [](https://vigia.coredls.cloud/packagist/league/oauth2-server)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/packagist/league/oauth2-server
GET https://vigia.coredls.cloud/v1/packages/packagist/league/oauth2-server/versions/{version}