devgine / web

Own engine · 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.

Details

Role
Author & maintainer
Period
07/2026 – present
Technologies
PHP 8.5, PSR-3/7/11/14/15/16/17, PHPStan, PHPUnit, PSR-12
  • 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.

Building blocks

  1. Container

    PSR-11 with autowiring, contextual bindings and a service-provider lifecycle.

  2. HTTP & Middleware

    PSR-7/15, onion middleware pipeline, security headers.

  3. Routing

    Named routes, regex-constrained parameters, attribute routes, model binding.

  4. Views

    PHP templates with layouts and sections; components bundle HTML/CSS/JS.

  5. Database

    Query builder with prepared statements, schema builder, CLI migrations.

  6. Auth & Sessions

    Session guard, remember-me, CSRF protection, secure cookies (HttpOnly/SameSite/Secure).

  7. Further modules

    Validation, PSR-16 cache, PSR-14 events, PSR-3 logging, mail, filesystem, localisation, rate limiting, pagination, CLI, testing helpers.

← Back to overview