One of my old friends who just started learning web development in PHP asked me to explain the nature of routing. When I referred him to the official documentation of Symfony, he said, “No, I want to build my own one so I could understand the architecture from the inside out.” Well, here we go, Sasha.

This article aims to explain the basics of routing, architectural approaches, and how to build your own engine. It might be a good start in sorting out such complicated components as Laravel’s and Symfony’s and not to get confused in the code.

If you…

Ruslan Orazliev

Cat guy. Huge nerd.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store