Symfony is indeed a very well crafted framework. For those who are interested to have a bit of an introduction to what modern PHP web development looks like today, it might be worth having a look through this tutorial that basically walks you through building your own web framework based on Symfony components:
Or any other pieces of documentation. Its very well made, and demonstrates proper creation of websites using seperation of logics and configurations. And, you don't have to use symfony, there's tons of others that impliment the same kind of theories, which is why i think PHP has stuck around for so long and is improving like every other language. It has the ability to be formed into these seperations and logics. Much like how C# is able to give you a much better separation of data and objects than say C++. Perhaps thats something that could be done in any per-request response language like PHP, but it has withstood its test of time when properly done.