vima/core

Framework-agnostic RBAC + ABAC access control engine with pluggable storage backends and a built-in CLI.

Maintainers

Package info

github.com/lipex-org/vima-core

pkg:composer/vima/core

Statistics

Installs: 63

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-06-21 09:29 UTC

README

Vima Core is a high-performance, contract-first access control library (RBAC & ABAC) designed for modern PHP applications.

🏗️ Architecture

Vima Core v1 utilizes a Domain-Driven Design (DDD) approach, organizing components into vertical slices (Audit, Cache, Config, Deployment, Events, Permission, Policy, Role, Support, User) to reduce cognitive load and eliminate feature scatter.

🚀 Key Features

  • Native Fluent API: Highly readable, symmetrical DSL (e.g., Vima::user($user)->grant()->role('admin')).
  • Domain-Driven Design: Logic is segmented by business domain, not technical layer.
  • Configurable Storage: Dynamic table prefixing support to work seamlessly with any database schema.
  • Contract-First: Everything is driven by interfaces, allowing for easy swapping of repositories.

📚 Documentation

Please see the docs/ directory for detailed architecture, integration guides, and testing strategies.

🛠️ Getting Started

composer install

📜 License

MIT