Good architecture contains patterns. But which pattern does a given class follow? The task of phpMolecules is to express this directly in the code. phpMolecules is a framework-agnostic library that allows you to annotate common architectural concepts (like layers or DDD building blocks) directly in source code. This makes it easier for human readers to understand which pattern a piece of code follows. You can verify that rules regarding the implementation of these patterns are followed, e.g. with PHPStan or Psalm, and derive the necessary technical integration and appropriate documentation. So, code generators can use the info to reduce boilerplate code. It’s not only just for PHP, but the possibility is also given to annotate code accordingly for .NET and Java too. In this talk, this brand new library will be presented by one of its creators.