<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Patrick ER</title>
    <description>The latest articles on DEV Community by Patrick ER (@patryyyck).</description>
    <link>https://dev.to/patryyyck</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1355611%2F856ddd3e-03c8-42d6-9db2-7b69bd0b6242.png</url>
      <title>DEV Community: Patrick ER</title>
      <link>https://dev.to/patryyyck</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/patryyyck"/>
    <language>en</language>
    <item>
      <title>I built an open-source static flow analyzer for Symfony — PHPFlow v0.1.0</title>
      <dc:creator>Patrick ER</dc:creator>
      <pubDate>Sun, 06 Sep 2026 13:46:27 +0000</pubDate>
      <link>https://dev.to/patryyyck/i-built-an-open-source-static-flow-analyzer-for-symfony-phpflow-v010-3h46</link>
      <guid>https://dev.to/patryyyck/i-built-an-open-source-static-flow-analyzer-for-symfony-phpflow-v010-3h46</guid>
      <description>&lt;p&gt;Hi everyone,&lt;/p&gt;

&lt;p&gt;I’ve just released the first public version of &lt;strong&gt;PHPFlow&lt;/strong&gt;, an open-source static flow analyzer for PHP/Symfony applications.&lt;/p&gt;

&lt;p&gt;The idea came from a problem I regularly run into on larger applications: answering a question like “&lt;strong&gt;what actually happens when this route is called&lt;/strong&gt;?” can mean jumping through a controller, several services, Messenger dispatches and handlers, repositories, database queries and external APIs.&lt;/p&gt;

&lt;p&gt;PHPFlow analyzes the source code without running the target application and reconstructs those flows as a graph.&lt;/p&gt;

&lt;p&gt;For example, it can help answer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What happens when this Symfony route is called?&lt;/li&gt;
&lt;li&gt;Which routes/messages can reach this database table?&lt;/li&gt;
&lt;li&gt;What depends on this service?&lt;/li&gt;
&lt;li&gt;Where is this Messenger message handled?&lt;/li&gt;
&lt;li&gt;Which flows call this external API?&lt;/li&gt;
&lt;li&gt;Where can this exception surface?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;v0.1.0 currently understands Symfony routes, dependency injection, Messenger, repositories, Doctrine DBAL/QueryBuilder, external HTTP calls, exceptions and a number of control-flow patterns.&lt;/p&gt;

&lt;p&gt;It also generates a self-contained interactive HTML viewer with search, functional lanes, Messenger boundaries, minimap, path-to-effects and critical-path exploration.&lt;/p&gt;

&lt;p&gt;PHPFlow is deliberately conservative: &lt;strong&gt;if it cannot prove a relationship statically, it doesn’t invent one&lt;/strong&gt;. It also never boots or executes the application being analyzed.&lt;/p&gt;

&lt;p&gt;There’s a bundled Symfony demo, so after cloning:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight make"&gt;&lt;code&gt;&lt;span class="err"&gt;make&lt;/span&gt; &lt;span class="err"&gt;setup&lt;/span&gt;
&lt;span class="err"&gt;make&lt;/span&gt; &lt;span class="err"&gt;demo&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I’m especially interested in trying it against real-world Symfony applications now. If you give it a try and it misses a pattern used by your project, I’d really like to hear about it.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/patryyyck/phpflow" rel="noopener noreferrer"&gt;github.com/patryyyck/phpflow&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feedback, bug reports and criticism are very welcome.&lt;/p&gt;

</description>
      <category>php</category>
      <category>symfony</category>
      <category>architecture</category>
    </item>
  </channel>
</rss>
