Permission handling for Laravel 12 and up
composer require "spatie/laravel-permission:7.1.0"
| 包名 | 版本要求 |
|---|---|
| illuminate/auth | ^12.0 |
| illuminate/container | ^12.0 |
| illuminate/contracts | ^12.0 |
| illuminate/database | ^12.0 |
| php | ^8.3 |
| spatie/laravel-package-tools | ^1.0 |
| 包名 | 版本要求 |
|---|---|
| larastan/larastan | ^3.9 |
| laravel/passport | ^12.0 |
| laravel/pint | ^1.0 |
| orchestra/testbench | ^10.0 |
| pestphp/pest | ^3.0 |
| pestphp/pest-plugin-laravel | ^3.0 |
| phpstan/phpstan | ^2.1 |
| 许可证 | MIT |
|---|---|
| 发布时间 | 2026-02-14 17:17:28 |
| 类型 | library |