PHPackages                             jengo/vima - 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. jengo/vima

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

jengo/vima
==========

CodeIgniter 4 implementation of Vima access control

00PHP

Since Feb 20Pushed 2mo agoCompare

[ Source](https://github.com/jengo-php/vima)[ Packagist](https://packagist.org/packages/jengo/vima)[ RSS](/packages/jengo-vima/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)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.

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

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

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

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

[](#contribution)

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

---

(c) Vima PHP

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance56

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 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.

### 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 (1 commits)")

### Embed Badge

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

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

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)

PHPackages © 2026

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