Laravel Passport provides OAuth2 server support to Laravel.
composer require "laravel/passport:12.x-dev"
| 包名 | 版本要求 |
|---|---|
| ext-json | * |
| firebase/php-jwt | ^6.4|^7.0 |
| illuminate/auth | ^9.21|^10.0|^11.0|^12.0 |
| illuminate/console | ^9.21|^10.0|^11.0|^12.0 |
| illuminate/container | ^9.21|^10.0|^11.0|^12.0 |
| illuminate/contracts | ^9.21|^10.0|^11.0|^12.0 |
| illuminate/cookie | ^9.21|^10.0|^11.0|^12.0 |
| illuminate/database | ^9.21|^10.0|^11.0|^12.0 |
| illuminate/encryption | ^9.21|^10.0|^11.0|^12.0 |
| illuminate/http | ^9.21|^10.0|^11.0|^12.0 |
| illuminate/support | ^9.21|^10.0|^11.0|^12.0 |
| lcobucci/jwt | ^4.3|^5.0 |
| league/oauth2-server | ^8.5.3 |
| nyholm/psr7 | ^1.5 |
| php | ^8.0 |
| phpseclib/phpseclib | ^2.0|^3.0 |
| symfony/console | ^6.0|^7.0 |
| symfony/psr-http-message-bridge | ^2.1|^6.0|^7.0 |
| 包名 | 版本要求 |
|---|---|
| mockery/mockery | ^1.0 |
| orchestra/testbench | ^7.35|^8.14|^9.0|^10.0 |
| phpstan/phpstan | ^1.10 |
| phpunit/phpunit | ^9.3|^10.5|^11.5 |
| 许可证 | MIT |
|---|---|
| 发布时间 | 2026-06-03 19:09:09 |
| 类型 | library |