Core Components

All Core Components

Component

What It Is

auth

Robust authentication guards with JWT, OAuth2, and role-based policies.

cli

Command-line toolkit for scaffolding, migrations, and routine workflows.

core

Bootstrap engine that wires services, configurations, and the application lifecycle.

database

Lightweight query builder and schema abstractions supporting MySQL, PostgreSQL, and SQLite.

dev-server

Built-in PHP dev server with hot reload and error overlay for rapid feedback loops.

di

Dependency Injection container with compile-time wiring and zero-reflection instantiation.

entity

Simple entity mapping layer with annotations and lifecycle hooks.

events

Asynchronous event dispatch, listener registration, and a publish/subscribe hub.

http

PSR-7/17 HTTP message implementations plus URL generation and helper utilities.

i18n

Internationalization support: translation, locale negotiation, and pluralization rules.

migration

Database migration and seeding commands with version control.

mlc

MonkeysLegion Core config files.

query

Fluent query builder with expressive methods for filters, joins, and pagination.

router

High-performance routing engine with zero-config conventions and middleware support.

telemetry

Metrics collection and tracing integration for OpenTelemetry and Prometheus exporters.

template

Lightweight template engine with caching, inheritance, and simple control structures.

validation

Declarative validation rules, custom validators, and error message formatting.

Embed only what you needβ€”then watch MonkeysLegion propel your service from prototype to production without a single unnecessary line of code.