jengo/vima
Composer 安装命令:
composer require jengo/vima
包简介
CodeIgniter 4 implementation of Vima access control
README 文档
README
Vima PHP is a powerful, flexible, and developer-friendly access control library for PHP. This package provides the official bridge for CodeIgniter 4, enabling seamless integration of Role-Based Access Control (RBAC) and Attribute-Based Access Control (ABAC) into your CI4 applications.
Key Features
- Seamless CI4 Integration: Works out of the box with CodeIgniter 4 services and filters.
- RBAC & ABAC support: Combine static roles with dynamic, context-aware policies.
- Declarative Setup: Manage your roles and permissions via configuration.
- Command Line Support: Generate policies and manage access via
spark. - Easy-to-use Helpers: Check permissions using the
can()helper.
Installation
Install the bridge via Composer:
composer require jengo/vima
Then run the installation command to set up necessary migrations and configuration:
php spark vima:install
Documentation
For detailed information on how to setup and use Vima in your CI4 project, please refer to the following guides:
- Setup Guide - Detailed instructions on installation and configuration.
- Usage Guide - How to use filters, helpers, and policies in your application.
Contribution
This package is part of the Vima PHP organization. We welcome contributions!
(c) Vima PHP https://github.com/vimaphp
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-20