PHPackages                             vima/codeigniter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. vima/codeigniter

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

vima/codeigniter
================

CodeIgniter 4 implementation of Vima access control

v1.0.6(2w ago)032↓84.8%MITPHPPHP &gt;=8.5

Since Feb 22Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/lipex-org/vima-codeigniter)[ Packagist](https://packagist.org/packages/vima/codeigniter)[ RSS](/packages/vima-codeigniter/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (2)Dependencies (21)Versions (28)Used By (0)

Vima PHP - CodeIgniter 4 Bridge
===============================

[](#vima-php---codeigniter-4-bridge)

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
------------

[](#key-features)

- **Seamless CI4 Integration**: Works out of the box with CodeIgniter 4 services and filters.
- **RBAC &amp; 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.
- **CI4 Event Hooks**: Hook into authorization, synchronization, and repository events via the CI4 `Events` class.

Installation
------------

[](#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
-------------

[](#documentation)

For detailed information on how to setup and use Vima in your CI4 project, please refer to the following guides:

- [**Setup Guide**](docs/setup.md) - Detailed instructions on installation and configuration.
- [**Usage Guide**](docs/usage.md) - How to use filters, helpers, and policies in your application.
- [**Event System**](docs/events.md) - Hook into internal Vima operations and actions.

Contribution
------------

[](#contribution)

This package is part of the **Vima PHP** organization. We welcome contributions!

---

(c) Vima PHP

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance95

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Recently: every ~0 days

Total

26

Last Release

16d ago

Major Versions

v0.2.1 → v1.0.02026-06-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a00939d7e5422a294a7b9b186f29116de3dca2d793453c8c58c0293bd2346b2?d=identicon)[gilads-otiannoh254](/maintainers/gilads-otiannoh254)

---

Top Contributors

[![gilads-otiannoh24](https://avatars.githubusercontent.com/u/180090128?v=4)](https://github.com/gilads-otiannoh24 "gilads-otiannoh24 (22 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vima-codeigniter/health.svg)

```
[![Health](https://phpackages.com/badges/vima-codeigniter/health.svg)](https://phpackages.com/packages/vima-codeigniter)
```

###  Alternatives

[agungsugiarto/boilerplate

CodeIgniter4 Boilerplate based on AdminLTE 3 with user management, roles, permissions, ...

1648.0k](/packages/agungsugiarto-boilerplate)[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1111.2k](/packages/abydahana-aksara)[agungsugiarto/codeigniter4-authentication

Provides an API for authentication and includes concrete authentication adapters for common use case scenarios

494.6k2](/packages/agungsugiarto-codeigniter4-authentication)[casbin/codeigniter-permission

Associate users with roles and permissions, use Casbin in CodeIgniter4 Web Framework.

463.1k](/packages/casbin-codeigniter-permission)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
