Getting Started

Getting Started

Install PhrameCMS from phramecms/skeleton, run the idempotent site installer, and make your first JSON:API and MCP calls.

Getting Started v0.1

Architecture

Architecture Overview

Understand PhrameCMS's AI-first micro-kernel design, topological module DAG, 10 official modules, OperationBus pipeline, and hexagonal PSR boundaries.

Architecture v0.1

Custom Modules

Custom Modules Guide

Author, secure, package, and test custom PHP modules in PhrameCMS across the DI container, event bus, HTTP router, Admin UI, database schemas, and MCP.

Custom Modules v0.1

Operations

Configuration Sync

Manage active database configuration alongside Git-tracked canonical JSON in config/sync/ with dry-run previews, atomic imports, and immutable rollback snapshots.

Operations v0.1

AI Change Proposals & Human Approval Queue

Let AI agents validate and stage mutating operations with propose.* scopes, optimistic beforeHash concurrency checks, and human review in /admin/proposals.

Operations v0.1

SDK

PHP SDK Guide

Install and configure phramecms/php-sdk in Symfony or any PSR-18/PSR-17 PHP 8.5 app, query content, manage configs and schemas, handle RFC 9457 errors, and unit-test with FakePhrameClient.

SDK v0.1

Security

Users, RBAC, and AI Agent Tokens

Configure users, RBAC roles, granular permission strings, least-privilege AI Agent Tokens, revocation, and the immutable audit trail.

Security v0.1

Security & Production Deployment

Harden PhrameCMS for production: public/ web root isolation, environment flags, Nginx Authorization header forwarding, multi-worker databases, CSRF, and deny-by-default authentication.

Security v0.1