<?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: Sakhawat Hossain</title>
    <description>The latest articles on DEV Community by Sakhawat Hossain (@sajusun).</description>
    <link>https://dev.to/sajusun</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%2F1222029%2Fdb9da2aa-6a91-4ef9-a1ec-f9903eb26b55.jpg</url>
      <title>DEV Community: Sakhawat Hossain</title>
      <link>https://dev.to/sajusun</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sajusun"/>
    <language>en</language>
    <item>
      <title>I Built EchoScope: A WebSocket Inspector for Laravel Reverb</title>
      <dc:creator>Sakhawat Hossain</dc:creator>
      <pubDate>Wed, 04 Nov 2026 13:47:29 +0000</pubDate>
      <link>https://dev.to/sajusun/i-built-echoscope-a-websocket-inspector-for-laravel-reverb-3c7l</link>
      <guid>https://dev.to/sajusun/i-built-echoscope-a-websocket-inspector-for-laravel-reverb-3c7l</guid>
      <description>&lt;h2&gt;
  
  
  A WebSocket Inspector for Laravel Reverb
&lt;/h2&gt;

&lt;p&gt;If you've worked with Laravel Reverb, you probably know how frustrating it can be to debug real-time broadcasting.&lt;/p&gt;

&lt;p&gt;You dispatch an event from Laravel. Your frontend is supposed to receive it. But nothing happens.&lt;/p&gt;

&lt;p&gt;Is the event being broadcast?&lt;br&gt;&lt;br&gt;
Is the channel name correct?&lt;br&gt;&lt;br&gt;
Is private channel authorization working?&lt;br&gt;&lt;br&gt;
Is the payload what you expected?&lt;/p&gt;

&lt;p&gt;When debugging real-time applications, I wanted a simple way to inspect WebSocket events directly from my browser.&lt;/p&gt;

&lt;p&gt;So, I built &lt;strong&gt;EchoScope&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  What Is EchoScope?
&lt;/h2&gt;

&lt;p&gt;EchoScope is a browser extension that allows developers to connect to Laravel Reverb and Pusher-compatible WebSocket servers and inspect events in real-time.&lt;/p&gt;

&lt;p&gt;It provides a standalone debugging interface where you can subscribe to channels, monitor incoming events, inspect JSON payloads, and filter the event stream.&lt;/p&gt;

&lt;p&gt;The goal is simple:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Make real-time debugging easier without writing additional frontend JavaScript listener code.&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Why I Built It
&lt;/h2&gt;

&lt;p&gt;Laravel makes event broadcasting convenient, especially when working with Laravel Reverb.&lt;/p&gt;

&lt;p&gt;However, when something goes wrong, debugging often requires checking multiple things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Is the WebSocket connection established?&lt;/li&gt;
&lt;li&gt;Is the event being dispatched?&lt;/li&gt;
&lt;li&gt;Is the channel name correct?&lt;/li&gt;
&lt;li&gt;Is private channel authorization successful?&lt;/li&gt;
&lt;li&gt;Is the event payload correct?&lt;/li&gt;
&lt;li&gt;Is the frontend listener receiving the event?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted a dedicated tool that could help me answer these questions without repeatedly modifying my frontend code.&lt;/p&gt;

&lt;p&gt;That was the motivation behind EchoScope.&lt;/p&gt;
&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;
&lt;h3&gt;
  
  
  1. Laravel Reverb &amp;amp; Pusher Compatibility
&lt;/h3&gt;

&lt;p&gt;EchoScope supports Laravel Reverb and Pusher-compatible WebSocket connections.&lt;/p&gt;

&lt;p&gt;You can configure your connection details and establish a connection to your WebSocket server.&lt;/p&gt;
&lt;h3&gt;
  
  
  2. Public, Private &amp;amp; Presence Channels
&lt;/h3&gt;

&lt;p&gt;Real-time applications frequently use different channel types.&lt;/p&gt;

&lt;p&gt;EchoScope allows you to subscribe to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Public channels&lt;/li&gt;
&lt;li&gt;Private channels&lt;/li&gt;
&lt;li&gt;Presence channels&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For private and presence channels, it supports the authorization handshake through your application's broadcasting authorization endpoint.&lt;/p&gt;
&lt;h3&gt;
  
  
  3. Real-Time Event Inspection
&lt;/h3&gt;

&lt;p&gt;Once connected, incoming events appear in a live event stream.&lt;/p&gt;

&lt;p&gt;You can inspect:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Event timestamps&lt;/li&gt;
&lt;li&gt;Channel names&lt;/li&gt;
&lt;li&gt;Event names&lt;/li&gt;
&lt;li&gt;JSON payloads&lt;/li&gt;
&lt;li&gt;Connection and subscription status&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is useful when debugging notifications, chat messages, order updates, and other real-time features.&lt;/p&gt;
&lt;h3&gt;
  
  
  4. JSON Payload Inspection
&lt;/h3&gt;

&lt;p&gt;Working with event payloads is an important part of debugging.&lt;/p&gt;

&lt;p&gt;EchoScope displays incoming JSON payloads in a formatted structure and allows you to copy them for further testing.&lt;/p&gt;

&lt;p&gt;For example, you might be debugging an event such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;OrderCreated&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;MessageSent&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Instead of guessing what the frontend receives, you can inspect the actual payload.&lt;/p&gt;
&lt;h3&gt;
  
  
  5. Event Filtering
&lt;/h3&gt;

&lt;p&gt;When an application broadcasts multiple events, the event stream can become difficult to follow.&lt;/p&gt;

&lt;p&gt;EchoScope provides event filtering and channel scoping to help you focus on the events you are debugging.&lt;/p&gt;
&lt;h3&gt;
  
  
  6. Dedicated Full-Screen Inspector
&lt;/h3&gt;

&lt;p&gt;EchoScope also provides a dedicated full-screen tab mode.&lt;/p&gt;

&lt;p&gt;This is useful when you want to keep the inspector open while working on your Laravel application.&lt;/p&gt;
&lt;h2&gt;
  
  
  A Typical Debugging Workflow
&lt;/h2&gt;

&lt;p&gt;Imagine you're building a Laravel application with real-time order notifications.&lt;/p&gt;

&lt;p&gt;Your backend dispatches an event:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nc"&gt;OrderCreated&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;But your frontend doesn't receive the expected notification.&lt;/p&gt;

&lt;p&gt;With EchoScope, you can:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Connect to your Laravel Reverb server.&lt;/li&gt;
&lt;li&gt;Subscribe to the relevant channel.&lt;/li&gt;
&lt;li&gt;Monitor incoming events.&lt;/li&gt;
&lt;li&gt;Inspect the event name and JSON payload.&lt;/li&gt;
&lt;li&gt;Verify whether the expected data is being broadcast.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This can help narrow down whether the problem is related to broadcasting, channel authorization, or the frontend listener.&lt;/p&gt;

&lt;h2&gt;
  
  
  Privacy
&lt;/h2&gt;

&lt;p&gt;EchoScope is designed to operate client-side.&lt;/p&gt;

&lt;p&gt;Your WebSocket traffic and event payloads stay in your browser. The extension does not use telemetry.&lt;/p&gt;

&lt;p&gt;For developers working with application data, privacy is an important consideration when choosing debugging tools.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try EchoScope
&lt;/h2&gt;

&lt;p&gt;EchoScope is now available on Microsoft Edge Add-ons.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Install EchoScope:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://microsoftedge.microsoft.com/addons/detail/echoscope-laravel-rever/inbkfaemibapldafneckpdeffgjjkehc?hl=en-US" rel="noopener noreferrer"&gt;https://microsoftedge.microsoft.com/addons/detail/echoscope-laravel-rever/inbkfaemibapldafneckpdeffgjjkehc?hl=en-US&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  I'd Love Your Feedback!
&lt;/h2&gt;

&lt;p&gt;EchoScope is still evolving, and feedback from developers would be incredibly valuable.&lt;/p&gt;

&lt;p&gt;If you're working with Laravel Reverb, Pusher, or WebSockets, I'd love for you to give it a try.&lt;/p&gt;

&lt;p&gt;I'm particularly interested in hearing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What features would make EchoScope more useful?&lt;/li&gt;
&lt;li&gt;Are there any bugs or usability issues?&lt;/li&gt;
&lt;li&gt;What would you improve in the current workflow?&lt;/li&gt;
&lt;li&gt;Would you like to see support for additional WebSocket debugging features?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Feel free to share your thoughts in the comments.&lt;/p&gt;

&lt;p&gt;Thanks for checking out EchoScope!&lt;/p&gt;




&lt;h1&gt;
  
  
  Laravel #PHP #WebSockets #LaravelReverb #ShowDev
&lt;/h1&gt;

</description>
      <category>webdev</category>
      <category>laravel</category>
      <category>productivity</category>
      <category>testing</category>
    </item>
    <item>
      <title>Laravel vs Symfony in 2026: An Architectural Breakdown for Backend Engineers</title>
      <dc:creator>Sakhawat Hossain</dc:creator>
      <pubDate>Fri, 18 Sep 2026 05:18:17 +0000</pubDate>
      <link>https://dev.to/sajusun/laravel-vs-symfony-in-2026-an-architectural-breakdown-for-backend-engineers-4m54</link>
      <guid>https://dev.to/sajusun/laravel-vs-symfony-in-2026-an-architectural-breakdown-for-backend-engineers-4m54</guid>
      <description>&lt;h1&gt;
  
  
  Laravel vs Symfony: Which PHP Framework Should You Bet on in 2026?
&lt;/h1&gt;

&lt;p&gt;A common narrative in the PHP community is: &lt;em&gt;"Laravel is just syntactic sugar over Symfony components."&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;While it's true that Laravel leverages battle-tested Symfony components (like &lt;code&gt;HttpFoundation&lt;/code&gt;, &lt;code&gt;Console&lt;/code&gt;, and &lt;code&gt;Routing&lt;/code&gt;), treating them as identical misses the core architectural philosophies behind both tools.&lt;/p&gt;

&lt;p&gt;Here is a pragmatic comparison for backend engineers deciding between the two.&lt;/p&gt;




&lt;h3&gt;
  
  
  1. Architectural Philosophy
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Symfony:&lt;/strong&gt; Follows strict software engineering standards, explicit dependency injection, and decoupling. It treats everything as modular components. If you want strict adherence to enterprise design patterns, Symfony makes it natural.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Laravel:&lt;/strong&gt; Prioritizes developer ergonomics and convention over configuration. It provides Facades, Eloquent ORM, and rich built-in abstractions that let you build complex business logic with minimal boilerplate.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  2. Microservices vs Monoliths
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Symfony&lt;/th&gt;
&lt;th&gt;Laravel&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Default Footprint&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Extremely lightweight (via Symfony Flex)&lt;/td&gt;
&lt;td&gt;Feature-packed out of the box&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Best Architecture&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Decoupled microservices &amp;amp; enterprise APIs&lt;/td&gt;
&lt;td&gt;Robust modular monoliths &amp;amp; SaaS backends&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Database Layer&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Doctrine (Data Mapper pattern)&lt;/td&gt;
&lt;td&gt;Eloquent (Active Record pattern)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Doctrine (Symfony)&lt;/strong&gt; separates database schemas from business entities cleanly, which is great for complex domain-driven designs (DDD).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Eloquent (Laravel)&lt;/strong&gt; allows rapid relationship chaining and intuitive query scopes, ideal for high-velocity feature delivery.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  3. Production Ecosystem
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Laravel Ecosystem:&lt;/strong&gt; Horizon (Queue monitoring), Reverb (First-party WebSockets), Sanctum/Passport (Auth), Pulse (Performance monitoring), and Cashier (Stripe/Paddle).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Symfony Ecosystem:&lt;/strong&gt; Symfony Messenger (AMQP/Kafka messaging), API Platform (instant REST/GraphQL backends), and fine-tuned caching mechanisms.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  4. Which One Should You Choose?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Go with Symfony if:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;You are building long-lifecycle enterprise systems that must outlive specific framework versions.&lt;/li&gt;
&lt;li&gt;You need an ultra-lean microservice where every kilobyte of memory matters.&lt;/li&gt;
&lt;li&gt;Your team strictly follows Domain-Driven Design (DDD) with Data Mapper ORMs.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Go with Laravel if:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Time-to-market and developer velocity are critical.&lt;/li&gt;
&lt;li&gt;You need modern built-in solutions for queues, real-time events, and payment integrations.&lt;/li&gt;
&lt;li&gt;You want a scalable modular monolith that can easily handle high concurrent traffic when paired with tools like Redis, Aurora, and AWS Load Balancers.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;What’s your production preference? Do you prefer Symfony's explicit control or Laravel's developer velocity?&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>backend</category>
      <category>ai</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
