Laravel Passport provides OAuth2 server support to Laravel.
composer require "laravel/passport:9.x-dev"
| 包名 | 版本要求 |
|---|---|
| ext-json | * |
| firebase/php-jwt | ^5.0 |
| illuminate/auth | ^6.18.31|^7.22.4 |
| illuminate/console | ^6.18.31|^7.22.4 |
| illuminate/container | ^6.18.31|^7.22.4 |
| illuminate/contracts | ^6.18.31|^7.22.4 |
| illuminate/cookie | ^6.18.31|^7.22.4 |
| illuminate/database | ^6.18.31|^7.22.4 |
| illuminate/encryption | ^6.18.31|^7.22.4 |
| illuminate/http | ^6.18.31|^7.22.4 |
| illuminate/support | ^6.18.31|^7.22.4 |
| laminas/laminas-diactoros | ^2.2 |
| lcobucci/jwt | ^3.4|^4.0 |
| league/oauth2-server | ^8.2.3 |
| nyholm/psr7 | ^1.0 |
| php | ^7.2|^8.0 |
| phpseclib/phpseclib | ^2.0 |
| symfony/psr-http-message-bridge | ^2.0 |
| 包名 | 版本要求 |
|---|---|
| mockery/mockery | ^1.0 |
| orchestra/testbench | ^4.4|^5.0 |
| phpunit/phpunit | ^8.5|^9.3 |
| 许可证 | MIT |
|---|---|
| 发布时间 | 2026-06-03 19:12:01 |
| 类型 | library |