# devgine / web

*Own engine · Author & maintainer · 07/2026 – present*

PSR-compliant PHP web engine: container, router, middleware kernel, views with a component system and a database layer – with no runtime dependencies beyond PSR interfaces. moritzschacke.de runs on it.

## Building blocks

- Container: PSR-11 with autowiring, contextual bindings and a service-provider lifecycle.
- HTTP & Middleware: PSR-7/15, onion middleware pipeline, security headers.
- Routing: Named routes, regex-constrained parameters, attribute routes, model binding.
- Views: PHP templates with layouts and sections; components bundle HTML/CSS/JS.
- Database: Query builder with prepared statements, schema builder, CLI migrations.
- Auth & Sessions: Session guard, remember-me, CSRF protection, secure cookies (HttpOnly/SameSite/Secure).
- Further modules: Validation, PSR-16 cache, PSR-14 events, PSR-3 logging, mail, filesystem, localisation, rate limiting, pagination, CLI, testing helpers.

## Details

- PHPStan at level max without a baseline, tests for every public API, PSR-12 enforced by php-cs-fixer.
- Semantic versioning, conventional commits, changelog following Keep a Changelog.
- Closed source – code samples and deep dives on request.

Technologies: PHP 8.5, PSR-3/7/11/14/15/16/17, PHPStan, PHPUnit, PSR-12


---

Moritz Schacke – https://moritzschacke.de/en
