switon/authz
最新稳定版本:v1.0.0
Composer 安装命令:
composer require switon/authz
包简介
Authorization and policy enforcement for Switon Framework
README 文档
README
Authorization and policy enforcement for Switon Framework.
Installation
composer require switon/authz
Requirements: PHP 8.3+
Quick Start
namespace App\Controller; use Switon\Authorizing\Attribute\Authorize; #[Authorize(Authorize::AUTHENTICATED)] class ProfileController { public function indexAction(): array { return ['ok' => true]; } }
Docs: https://docs.switon.dev/latest/authz
License
MIT.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-10