Skip to main content

Library Ecosystem

Each maplephp/* package is a standalone, independently installable Composer library. The framework skeleton wires them together, but any package can be used in a different project without the rest of the framework.

Package overview

PackagePSRDescription
maplephp/corePSR-11, PSR-15HttpKernel, CliKernel, App singleton, router dispatcher, DB query builder, migration runner
maplephp/httpPSR-7ServerRequest, Response, Stream, Uri, UploadedFile, HTTP client (cURL), safe Input helper
maplephp/containerPSR-11DI container with reflection-based autowiring and factory support
maplephp/emitronPSR-15Middleware dispatcher; built-in: OutputBuffer, Gzip, ContentLength, HeadRequest, CacheControl, Emitter
maplephp/dtoSafe data traversal, dot-notation access, type coercion, string / number / date / HTML formatting
maplephp/validate50+ validators: email, phone, URL, credit card, dates, passwords, identity numbers. Fluent chaining.
maplephp/logPSR-3Logger with StreamHandler (auto-rotation), ErrorLogHandler, DBHandler
maplephp/cachePSR-6, PSR-16FileSystem and Memcached handlers behind a unified SimpleCache interface
maplephp/blunderPSR-7Error/exception handling: HTML, JSON, XML, CLI, PlainText, Silent output handlers
maplephp/promptsInteractive CLI: text, password, toggle, select, list, confirm, progress bar
maplephp/unitaryTesting framework: 100k+ tests/sec, built-in mocking, zero external dependencies

PSR compliance summary

PSRImplemented by
PSR-3 (Logging)maplephp/log
PSR-6 (Caching)maplephp/cache
PSR-7 (HTTP Messages)maplephp/http
PSR-11 (Container)maplephp/container
PSR-15 (Middleware)maplephp/emitron
PSR-16 (Simple Cache)maplephp/cache

All PSR implementations are interface-compatible. You can replace any package with an alternative that implements the same PSR interface without modifying application code.