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