GitHunt
AN

annervisser/php-ddd-onion-experimenting

PHP Application employing DDD and onion architecture

TODO

  • php 8.1
  • https://github.com/qossmic/deptrac
  • graphql
  • opentelemetry
  • domain <> logic <> api
  • symfony fw vs no symfony -> probably slim
  • DI without symfony fw -> php-di
  • deserializing / validation
  • php value objects & php entities
  • Authentication
  • Github Actions
  • env config (switching between dev/prod)
  • CLI commands
  • Logging
  • Serializing

Security

  • CORS
  • samesite cookies

Code quality

  • psalm
  • phpstan
  • php cs

Testing

Performance

  • doctrine Change tracking policy: explicit
  • DI compilation
  • DI define autowired classes for compilation (automagically?)
  • opcache
  • php preloading
  • nginx (or caddy?) + php performance config
  • doctrine caching
  • caching
  • performance testing (speed + capacity)
    • idea: create benchmark and calculate performance relative to that,
      for reproducible results on different systems

Sources

Repos

Other

Books

Interesting projects (taken from https://speakerdeck.com/ramsey/cool-tools-for-php-development-mergephp-january-2022)

annervisser/php-ddd-onion-experimenting | GitHunt