API Reference

Complete reference for all Forge Engine classes, methods, and interfaces. This documentation covers the entire framework from core engine to specialized components.

Core Engine

Essential classes that power the framework: Engine, Bootstrap, Autoloader, and more.

View Documentation →

HTTP Layer

Request/Response handling, middleware, sessions, and HTTP utilities.

View Documentation →

Database & ORM

Models, QueryBuilder, database connections, and migration system.

View Documentation →

DI Container

Dependency injection, service registration, and container management.

View Documentation →

Routing

Route definitions, parameter binding, and URL generation.

View Documentation →

Module System

Module loading, lifecycle hooks, and module development.

View Documentation →

Getting Started

The Forge Engine API is organized into logical sections. Each section contains detailed documentation for classes, methods, properties, and usage examples.

For Developers

  • • Start with Core Engine for framework fundamentals
  • • Learn HTTP Layer for web application development
  • • Explore Database & ORM for data management

For Module Developers

  • • Study Module System for extension development
  • • Understand DI Container for service management
  • • Review Events for system integration

CLI & Console

Command-line interface, console commands, and CLI utilities for development and maintenance.

Explore CLI API →

Caching

Cache drivers, cache management, and performance optimization tools.

Explore Cache API →

Validation

Data validation, input sanitization, and validation rules.

Explore Validation API →

Events

Event system, listeners, and lifecycle hooks for system integration.

Explore Events API →

Helpers & Traits

Utility functions, helper classes, and reusable traits for common operations.

Explore Helpers →

Security

Security features, input sanitization, permissions, and authentication helpers.

Explore Security API →