What’s the Same

Symfony developers will recognize this:

  • PSR-11/15 — Container + middleware are native
  • Dependency Injection — Constructor injection, explicit
  • Console Commands — `bin/console` pattern via CLI
  • Event System — PSR-14 compatible dispatcher
  • Config Files — PHP arrays, no YAML required
  • HTTP Kernel Pattern — Request → Middleware → Response
  • Service Providers — Module `boot()` method
  • Doctrine Compatible — Use Doctrine ORM if you want
  • Twig Compatible — Bring Twig for templates
  • PHP 8.3+ Types — Attributes, readonly, enums

StrataPHP vs Symfony:

  • No bundles — Modules are simpler, Composer-only
  • No YAML/XML — PHP config only, no compilation step
  • Faster boot — ~3ms vs ~35ms, no cache warmup
  • Less abstraction — No `AbstractController`, just classes

Choose Symfony if:

  • You need Messenger, Workflow, API Platform today
  • Enterprise DDD with huge teams
  • You like YAML config + auto-wiring
  • Long-term LTS support is critical