Search by

phramecms / admin

TLyngeJ

Server-rendered Twig Admin UI module for PhrameCMS.

Package info

github.com/PhrameCMS/admin

pkg:composer/phramecms/admin

Statistics

Installs: 18

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2026-12-04 21:15 UTC

This package is auto-updated.

Last update: 2026-12-04 21:34:04 UTC


README

Server-rendered Twig Admin UI module for PhrameCMS mounted at /admin.

Provides a zero-Node, pure-PHP editorial and AI-governance control plane built strictly as a thin adapter over Core's OperationBus:

  • Dashboard — Content/bundle overview, drafts awaiting review, recent AI Agent activity, and denied RBAC attempts
  • Content & Workflow — Dynamic CRUD forms auto-generated from live JSON Schemas (all 9 built-in field types + multi-value cardinality), revision history (Human vs. AI Agent attribution), and 1-click workflow transitions
  • Schema Builder — Create Entity Types, Bundles, Field Storages, and attach Field Instances with dry_run previews
  • Config & Snapshots — Inspect config.diff, preview config.import (dry_run), export to config/sync/, and roll back snapshots
  • Access & AI Governance — Manage Users, Roles, scoped AI Agent Tokens (with ready-to-copy MCP client snippets), and filter the immutable Audit Log

Architecture & Encapsulation

twig/twig is strictly encapsulated behind PhrameCms\Admin\Contract\TemplateRendererInterface with HTML auto-escaping enabled. Downstream modules can register custom admin navigation entries via AdminMenuProviderInterface (phrame.admin_menu) with zero Twig coupling.

Requirements

  • PHP ^8.5
  • phramecms/core, phramecms/routing, phramecms/user, phramecms/entity, phramecms/config

License

MIT