Search by

jengo / auth

gilads-otiannoh254

Unified Authentication and Authorization Engine for the Jengo Framework and CodeIgniter 4, powered by Vima.

dev-main 2026-09-08 12:04 UTC

This package is auto-updated.

Last update: 2026-09-08 12:04:30 UTC


README

A unified authentication and authorization engine for CodeIgniter 4 and the Jengo Framework, powered by Vima. Features Universal Guard, multi-step MFA actions, scoped API tokens, and fine-grained RBAC/ABAC permissions.

Documentation: https://lipex-org.github.io/jengophp.com/packages/auth

Installation

composer require jengo/auth
php spark jengo:auth setup
php spark migrate

Quick Start

// Check authentication
if (auth()->check()) {
    $user = auth()->user();
}

// Attempt login
auth()->attempt(['email' => $email, 'password' => $password], remember: true);

// Check permissions with Vima
if (can('posts.publish', $post)) {
    // Authorized
}

Documentation

For full guides on Universal Guard, route publishing, Vima RBAC/ABAC workflows, response modifiers, and CLI commands, visit https://lipex-org.github.io/jengophp.com/packages/auth.

License

Released under the MIT License.