jengo / auth
Unified Authentication and Authorization Engine for the Jengo Framework and CodeIgniter 4, powered by Vima.
v0.1.1
2026-09-18 09:05 UTC
Requires
- php: >=8.5
- codeigniter4/framework: ^4.7
- jengo/base: ^1.1
- vima/codeigniter: ^1.0
- vima/core: ^1.0
Requires (Dev)
- fakerphp/faker: ^1.24
- phpunit/phpunit: ^12.5 || ^13.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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.