vima/codeigniter

CodeIgniter 4 implementation of Vima access control

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/vima/codeigniter

v0.0.1 2026-02-22 15:51 UTC

This package is auto-updated.

Last update: 2026-02-22 16:38:55 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 vima/codeigniter

Then run the setup command to set up necessary configuration:

php spark vima:setup

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