Framework Source Map

The documentation is constantly evolving and updated alongside the project's progress. Since it is developed in parallel with the code, some sections may temporarily refer to earlier versions of the system-these are gradually adapted to the current state of the application. If you notice any outdated information, please report it or open an Issue / Pull Request.

Documentation

# Framework Source Map

This guide follows every top-level directory under DBM Framework src/. Platform application code under its own src/ and modules/ folders is separate.

Source pathResponsibility and main classes
Application.phpApplication composition and startup.
Kernel/HTTP orchestration: HttpKernel, KernelInterface.
Environment/Environment lookup.
Core/DependencyContainer, DotEnv, Paths, AppConfig, bundles, module discovery/registration/installation/migration/removal.
Console/Command and worker abstractions/runners, ConsoleRequest.
Http/PSR-7 request, response, URI and streams; base web/API controllers; ResponseEmitter; HTTP client contract and CurlHttpClient; ApiResponder.
Routing/RouteBuilder, matching, URL generation, controller/action resolution, middleware stack, URI normalization, cache.
Middleware/CORS, exception conversion, request logging, session startup, route matching, debug toolbar hooks.
Exceptions/ and Error/Framework exceptions, ExceptionHandler, ErrorHandler.
Database/PDO adapter/contracts, query builders, repositories, results, hydrators, environment validation.
Security/Access guards, password hashing, CSRF validation, rate limiting, JWT, authentication middleware.
Validation/Input rules, translated errors, custom rules.
Views/Template compiler/runtime/engine, cache, extensions, FlashBag.
Localization/Language resolution, current-language state, translation loading and provider.
Events/EventDispatcher, listener contract, queue support, security-event logging.
Debug/DebugRegistry, DebugToolbar, collector contract, debug middleware.
Infrastructure/Sessions, cookies, filesystem, ErrorLogger, logging, Markdown, mail contracts/DTOs and transports, upload helpers, and legacy sender compatibility.
Support/Sanitization, enum/debug helpers, lazy-loading trait.

Platform bootstrap details such as its hybrid loader are described in Platform Autoloading. For utility APIs, see Support Utilities. Use Routing, HTTP Client, API and Authentication, Database, Security, Validation, Templates, and Localization for details.

A class in source is not automatically registered or enabled. Check application bootstrap and module wiring to determine what is active.