A modern PHP framework
built for clarity, not magic.

CQRS data access, JWT authentication, auto-wiring dependency injection, a composable middleware pipeline, attribute-based validation, and structured error handling — all with explicit, traceable code.

PHP 8.2+ MIT License Coming Soon

Everything you need, nothing you don't

A focused set of tools for building modern PHP applications with clear, predictable patterns.

CQRS Data Access

Separate Query and Command objects keep reads and writes distinct. No ORM magic, no hidden SQL — every data path is explicit and traceable through DbContext.

Multi-Provider Auth

OIDC, OAuth2, and local username/password authentication with JWT tokens. Validate tokens, extract claims, and check entitlements through a clean UserContext API.

DI Container

Auto-wiring container resolves constructor dependencies from type hints. Interface bindings, singletons, and service providers for modular registration.

Middleware Pipeline

PSR-15-style composable middleware for cross-cutting concerns. CORS, authentication, authorization, body parsing — stack them in any order.

Validation

Attribute-based validation rules on DTOs. Declare constraints directly on properties and validate incoming data with clear, structured error responses.

Modern PHP

PHP 8.2+ features throughout: enums, readonly properties, constructor promotion, match expressions, named arguments, and union types.

Documentation & full site coming soon.

In the meantime, learn more about Melodic Development.

Visit melodic.dev