jengo/vima

CodeIgniter 4 implementation of Vima access control

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/jengo/vima

dev-main 2026-02-20 18:35 UTC

This package is auto-updated.

Last update: 2026-02-20 18:37:27 UTC


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